.\" 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_INSERT" "9" "09 October 2005" "" "" .SH NAME avc_insert \- Insert an AVC entry. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp struct avc_node * avc_insert (u32 \fIssid\fB, u32 \fItsid\fB, u16 \fItclass\fB, struct avc_entry * \fIae\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\fIae\fB\fR AVC entry .SH "DESCRIPTION" .PP Insert an AVC entry for the SID pair (\fIssid\fR, \fItsid\fR) and class \fItclass\fR\&. The access vectors and the sequence number are normally provided by the security server in response to a \fBsecurity_compute_av\fR call. If the sequence number \fIae\fR->avd.seqno is not less than the latest revocation notification, then the function copies the access vectors into a cache entry, returns avc_node inserted. Otherwise, this function returns NULL.