next up previous contents index
Next: 11.2.10 fs_sid: Obtain SIDs Up: 11.2 oskit_security: Security Server Previous: 11.2.8 unregister_avc: Unregister an

11.2.9 load_policy: Load a new policy configuration

 

SYNOPSIS

#include <oskit/flask/security.h>

OSKIT_COMDECL oskit_security_load_policy(oskit_security_t *security, oskit_openfile_t *openfile);

DESCRIPTION

This method loads a new policy configuration from openfile. The security server notifies any registered AVC components of any policy changes caused by the new configuration.

PARAMETERS

security
The security server.
openfile
The open file.

RETURNS

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



Utah Flux Research Group