.\" 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_TRANSITION_SID" "" "06 October 2005" "" "" .SH NAME security_transition_sid \- Compute the SID for a new subject/object. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int security_transition_sid (u32 \fIssid\fB, u32 \fItsid\fB, u16 \fItclass\fB, u32 * \fIout_sid\fB); \fR .SH "ARGUMENTS" .TP \fB\fIssid\fB\fR source security identifier .TP \fB\fItsid\fB\fR target security identifier .TP \fB\fItclass\fB\fR target security class .TP \fB\fIout_sid\fB\fR security identifier for new subject/object .SH "DESCRIPTION" .PP Compute a SID to use for labeling a new subject or object in the class \fItclass\fR based on a SID pair (\fIssid\fR, \fItsid\fR). Return -EINVAL if any of the parameters are invalid, -ENOMEM if insufficient memory is available, or 0 if the new SID was computed successfully.