#include <sys/label.h> #include <sys/audit.h>
int setuseraudit(uid, state) int uid; audit_state_t *state;
int setaudit(state) audit_state_t *state;
The setuseraudit() system call sets the audit state for all processes whose audit user ID matches the specified user ID. The parameter state specifies the audit classes to audit for both successful and unsuccessful operations.
The setaudit() system call sets the audit state for the current process.
Only processes with the real or effective user ID of the super-user may successfully execute these calls.
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97