AVC_ADD_CALLBACK

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

 

NAME

avc_add_callback - Register a callback for security events.  

SYNOPSIS

"SYNOPSIS"

int avc_add_callback (int (*callback) u32 event, u32 ssid, u32 tsid, u16 tclass, u32 perms, u32 *out_retained, u32 events, u32 ssid, u32 tsid, u16 tclass, u32 perms);  

ARGUMENTS

callback
callback function
events
security events
ssid
source security identifier or SECSID_WILD
tsid
target security identifier or SECSID_WILD
tclass
target security class
perms
permissions
 

DESCRIPTION

Register a callback function for events in the set events related to the SID pair (ssid, tsid) and and the permissions perms, interpreting perms based on tclass. Returns 0 on success or -ENOMEM if insufficient memory exists to add the callback.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

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