getaudid(2)getaudid(2)NAMEgetaudid() - get the audit ID (aid) for the current process
This function is provided purely for backward compatibility. HP recom‐
mends that new applications use instead. See getauduser(3).
returns the audit ID (aid) for the current process. This call is
restricted to users with the privilege.
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.
Upon successful completion, the audit ID is returned; otherwise, a is
fails if the following is true:
The caller does not have the
was developed by HP.
SEE ALSOsetaudid(2), getauduser(3), setauduser(3), privileges(5).
TO BE OBSOLETED getaudid(2)