next up previous contents index
Next: 11.2.8 unregister_avc: Unregister an Up: 11.2 oskit_security: Security Server Previous: 11.2.6 context_to_sid: Obtain the

11.2.7 register_avc: Register an AVC component for policy change notifications

 

SYNOPSIS

#include <oskit/flask/security.h>

OSKIT_COMDECL oskit_security_register_avc(oskit_security_t *security, oskit_security_class_t *classes, oskit_u32_t nclasses, oskit_avc_ss_t *avc);

DESCRIPTION

This method registers an AVC component for policy change notifications.

PARAMETERS

security
The security server.
classes
The array of security classes relevant to the AVC.
nclasses
The number of security classes.
avc
The AVC component.

RETURNS

Returns 0 on success, or an error code specified in <oskit/error.h>, on error.



Utah Flux Research Group