hpux man page for getaudproc

Query: getaudproc

OS: hpux

Section: 2

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

getaudproc(2)							System Calls Manual						     getaudproc(2)

NAME
getaudproc() - get the audit process flag for the calling process
SYNOPSIS
DESCRIPTION
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. 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 process flag is returned; otherwise, a 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 ALSO
setaudproc(2), privileges(5). getaudproc(2)
Related Man Pages
audwrite(2) - hpux
audswitch(2) - hpux
getpgid(2) - hpux
nice(2) - hpux
setgroups(2) - hpux
Similar Topics in the Unix Linux Community
List of users on an AIX system
CPE Management
if then else logic with while loop problem
sudo - AIX - User privilege specification
sudo - User privilege specification