next up previous contents index
Next: 11.2.3 transition_sid: Compute a Up: 11.2 oskit_security: Security Server Previous: 11.2.1 compute_av: Compute access

11.2.2 notify_perm: Notify of completed operations

 

SYNOPSIS

#include <oskit/flask/security.h>

OSKIT_COMDECL oskit_security_notify_perm(oskit_security_t *security, oskit_security_id_t ssid, oskit_security_id_t tsid, oskit_security_class_t tclass, oskit_access_vector_t requested);

DESCRIPTION

The oskit_security_notify_perm function notifies the security server that an operation associated with the permissions in the requested access vector has completed successfully. The AVC component calls this function when it is called by an object manager to indicate that the operation has completed successfully if any of the requested permissions are in the corresponding notify vector.

PARAMETERS

security
The security server.
ssid
The source SID.
tsid
The target SID.
tclass
The target object security class.
requested
The permissions to be checked.

RETURNS

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



Utah Flux Research Group