getaudid(2) System Calls Manual getaudid(2)
NAME
getaudid() - get the audit ID (aid) for the current process
SYNOPSIS
Remarks
This function is provided purely for backward compatibility. HP recommends that new applications use instead. See getauduser(3).
DESCRIPTION
returns the audit ID (aid) for the current process. 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.
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, the audit ID is returned; otherwise, a is returned.
ERRORS
fails if the following is true:
The caller does not have the
privilege.
AUTHOR
was developed by HP.
SEE ALSO
setaudid(2), getauduser(3), setauduser(3), privileges(5).
TO BE OBSOLETED getaudid(2)