.\" 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_GENFS_SID" "9" "09 October 2005" "" ""
.SH NAME
security_genfs_sid \- Obtain a SID for a file in a filesystem
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int security_genfs_sid (const char * \fIfstype\fB, char * \fIpath\fB, u16 \fIsclass\fB, u32 * \fIsid\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIfstype\fB\fR
filesystem type
.TP
\fB\fIpath\fB\fR
path from root of mount
.TP
\fB\fIsclass\fB\fR
file security class
.TP
\fB\fIsid\fB\fR
SID for path
.SH "DESCRIPTION"
.PP
Obtain a SID to use for a file in a filesystem that
cannot support xattr or use a fixed labeling behavior like
transition SIDs or task SIDs.