.\" This manpage has been automatically generated by docbook2man
.\" from a DocBook document. This tool can be found at:
.\"
.\" Please send any bug reports, improvements, comments, patches,
.\" etc. to Steve Cheng .
.TH "SECURITY_SID_TO_CONTEXT" "9" "09 October 2005" "" ""
.SH NAME
security_sid_to_context \- Obtain a context for a given SID.
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int security_sid_to_context (u32 \fIsid\fB, char ** \fIscontext\fB, u32 * \fIscontext_len\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIsid\fB\fR
security identifier, SID
.TP
\fB\fIscontext\fB\fR
security context
.TP
\fB\fIscontext_len\fB\fR
length in bytes
.SH "DESCRIPTION"
.PP
Write the string representation of the context associated with \fIsid\fR
into a dynamically allocated string of the correct size. Set \fIscontext\fR
to point to this string and set \fIscontext_len\fR to the length of the string.