getaudproc(2)getaudproc(2)NAMEgetaudproc() - get the audit process flag for the calling process
returns the audit process flag for the calling process. The audit
process flag (u_audproc) determines whether the process run by a given
user should be audited. The process is audited if the returned flag is
1. If the returned flag is 0, the process is not audited. 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 process flag is returned; other‐
wise, a is returned and is set to indicate the error.
fails if the following is true:
The caller does not have the
was developed by HP.
SEE ALSOsetaudproc(2), privileges(5).