.\" 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 "AVC_LOOKUP" "9" "09 October 2005" "" "" .SH NAME avc_lookup \- Look up an AVC entry. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct avc_node * avc_lookup (u32 \fIssid\fB, u32 \fItsid\fB, u16 \fItclass\fB, u32 \fIrequested\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\fIrequested\fB\fR requested permissions, interpreted based on \fItclass\fR .SH "DESCRIPTION" .PP Look up an AVC entry that is valid for the \fIrequested\fR permissions between the SID pair (\fIssid\fR, \fItsid\fR), interpreting the permissions based on \fItclass\fR\&. If a valid AVC entry exists, then this function return the avc_node. Otherwise, this function returns NULL.