setaudid() — set the audit ID (aid) for the current process
int setaudid(aid_t audid);
This function is provided purely for backward compatibility.
HP recommends that new applications use
sets the audit
in the audit tag for the current process.
This call is restricted to a user with the
Some or all of the actions associated with this system call require the
Processes owned by the superuser will have this privilege.
Processes owned by other users may have this privilege, depending on system
for more information about privileged access on systems that support
Upon successful completion,
returns a value of 0; otherwise, it returns -1 and sets
to indicate the error.
fails if any of the following conditions are encountered:
The caller is not a user with the
The audit ID
was developed by HP.