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

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

Contents


 setevent(2)                                                     setevent(2)




 NAME    [Toc]    [Back]
      setevent - set current events and system calls which are to be audited

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

      int setevent(
           const struct aud_type a_syscall[],
           const struct aud_event_tbl a_event[]

      );

 DESCRIPTION    [Toc]    [Back]
      setevent() sets the events and system calls to be audited.  The event
      and system call settings in the tables pointed to by a_syscall and
      a_event become the current settings.  This call is restricted to the
      super-user.

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

 ERRORS    [Toc]    [Back]
      setevent() fails if the following condition is encountered:

      [EPERM]        The caller is not super-user.

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

 SEE ALSO    [Toc]    [Back]
      getevent(2), audevent(1M).


 Hewlett-Packard Company            - 1 -   HP-UX 11i Version 2: August 2003
[ Back ]
      
      
 Similar pages
Name OS Title
getevent HP-UX get events and system calls that are currently being audited
audeventsta HP-UX define and describe audit system events
satconfig IRIX configure the system audit trail to collect particular events
sat_select IRIX preselect events for the system audit trail to gather
show_cdscp_confidence HP-UX Displays the current confidence level of clerk calls resulting from CDS control program commands
socketcall Linux socket system calls
obsolete Linux obsolete system calls
intro Linux Introduction to system calls
truss FreeBSD trace system calls
syscalls Linux list of all system calls
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service