SETEVENT(2)
NAME
setevent − set current events and system calls which are to be audited
SYNOPSIS
#include <sys/audit.h>
int setevent (a_syscall, a_event)
struct aud_type *a_syscall;
struct aud_event_tbl *a_event;
DESCRIPTION
Setevent sets the events and system calls to be audited. The event and system call settings in the tables pointed to by a_syscall and a_event become the current settings. This call is restricted to the superuser.
RETURN VALUE
Upon successful completion, setevent returns a value of 0; otherwise, a −1 is returned.
ERRORS
Setevent fails if the following is true:
[EPERM] The caller is not a superuser.
AUTHOR
Setevent was developed by HP.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989