.\" 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_COMPUTE_AV" "" "06 October 2005" "" "" .SH NAME security_compute_av \- Compute access vector decisions. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int security_compute_av (u32 \fIssid\fB, u32 \fItsid\fB, u16 \fItclass\fB, u32 \fIrequested\fB, struct av_decision * \fIavd\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 .TP \fB\fIavd\fB\fR access vector decisions .SH "DESCRIPTION" .PP Compute a set of access vector decisions based on the SID pair (\fIssid\fR, \fItsid\fR) for the permissions in \fItclass\fR\&. Return -EINVAL if any of the parameters are invalid or 0 if the access vector decisions were computed successfully.