hpux man page for setevent

Query: setevent

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

setevent(2)							System Calls Manual						       setevent(2)

NAME
setevent() - set current events and system calls which are to be audited
SYNOPSIS
Remarks This function is provided purely for backward compatibility. HP recommends that new applications use the command to get events and system calls that are currently being audited. See audevent(1M).
DESCRIPTION
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 users with the privilege. Security Restrictions Some or all of the actions associated with this system call require the privilege. Processes owned by the superuser have this privilege. Processes owned by other users may have this privilege, depending on system configuration. See privileges(5) for more information about privileged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, returns 0; otherwise, it returns -1 and sets to indicate the error.
ERRORS
fails if the following condition is encountered: The caller is not a user with the privilege.
AUTHOR
was developed by HP.
SEE ALSO
audevent(1M), getevent(2), privileges(5). TO BE OBSOLETED setevent(2)
Related Man Pages
audswitch(2) - hpux
getevent(2) - hpux
setaudproc(2) - hpux
setevent(2) - hpux
stime(2) - hpux
Similar Topics in the Unix Linux Community
[Knoppix] Configuring xDSL connections
c system call
sudo - AIX - User privilege specification
sudo - User privilege specification
Privilege ids list