*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> setaudid (2)              
Title
Content
Arch
Section
 

Contents


 setaudid(2)                                                     setaudid(2)




 NAME    [Toc]    [Back]
      setaudid - set the audit ID (aid) for the current process

 SYNOPSIS    [Toc]    [Back]
      #include <sys/audit.h>

      int setaudid(aid_t audid);

 DESCRIPTION    [Toc]    [Back]
      setaudid() sets the audit ID (aid) for the current process.  This call
      is restricted to the super-user.

 RETURN VALUE    [Toc]    [Back]
      Upon successful completion, setaudid() returns a value of 0;
      otherwise, it returns -1 and sets errno to indicate the error.

 ERRORS    [Toc]    [Back]
      setaudid() fails if any of the following conditions are encountered:

           [EPERM]        The caller is not a superuser.

           [EINVAL]       The audit ID (audid) is invalid.

 AUTHOR    [Toc]    [Back]
      setaudid() was developed by HP.

 SEE ALSO    [Toc]    [Back]
      getaudid(2).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
getaudid HP-UX get the audit ID (aid) for the current process
getaudproc HP-UX get the audit process flag for the calling process
audwrite HP-UX write an audit record for a self-auditing process
setaudproc HP-UX controls process level auditing for the current process and its decendents
sat_eventtostr IRIX convert an audit event index to/from an audit event string
issetugid NetBSD is current process tainted by uid or gid changes
_exit Linux terminate the current process
issetugid FreeBSD is current process tainted by uid or gid changes
tt_default_procid HP-UX identify the current default process
cuserid Tru64 Get the alphanumeric username associated with the current process
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service