AVC_AUDIT

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

avc_audit - Audit the granting or denial of permissions.  

SYNOPSIS

"SYNOPSIS"

void avc_audit (u32 ssid, u32 tsid, u16 tclass, u32 requested, struct av_decision * avd, int result, struct avc_audit_data * a);  

ARGUMENTS

ssid
source security identifier
tsid
target security identifier
tclass
target security class
requested
requested permissions
avd
access vector decisions
result
result from avc_has_perm_noaudit
a
auxiliary audit data
 

DESCRIPTION

Audit the granting or denial of permissions in accordance with the policy. This function is typically called by avc_has_perm after a permission check, but can also be called directly by callers who use avc_has_perm_noaudit in order to separate the permission check from the auditing. For example, this separation is useful when the permission check must be performed under a lock, to allow the lock to be released before calling the auditing code.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:01:57 GMT, October 09, 2005