getevent(2)getevent(2)NAMEgetevent() - get events and system calls that are currently being
audited
SYNOPSIS
Remarks
This function is provided purely for backward compatibility. HP recom‐
mends that new applications use the command to get events and system
calls that are currently being audited. See audevent(1M).
DESCRIPTION
gets the events and system calls being audited. The events are
returned in a table pointed to by a_event. The system calls are
returned in a table pointed to by a_syscall. This call is restricted
to 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. Pro‐
cesses owned by other users may have this privilege, depending on sys‐
tem configuration. See privileges(5) for more information about privi‐
leged access on systems that support fine-grained privileges.
RETURN VALUE
Upon successful completion, a value of 0 is returned; otherwise, a −1
is returned and is set to indicate the error.
ERRORS
fails if the following is true:
The caller does not have the
privilege.
AUTHOR
was developed by HP.
SEE ALSOaudevent(1M), setevent(2), privileges(5).
TO BE OBSOLETED getevent(2)