unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (HP-UX-11.11)
Page:
Section:
Apropos / Subsearch:
optional field



 setevent(2)							 setevent(2)




 NAME
      setevent - set current events and system calls which are to be audited

 SYNOPSIS
      #include <&lt&lt&lt;sys/audit.h>&gt&gt&gt;

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

      );

 DESCRIPTION
      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
      Upon successful completion, setevent() returns 0; otherwise, it
      returns -1 and sets errno to indicate the error.

 ERRORS
      setevent() fails if the following condition is encountered:

      [EPERM]	     The caller is not super-user.

 AUTHOR
      setevent() was developed by HP.

 SEE ALSO
      getevent(2), audevent(1M).






















 Hewlett-Packard Company	    - 1 -   HP-UX Release 11i: November 2000