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

  man pages->IRIX man pages -> standard/satctl (2)              
Title
Content
Arch
Section
 

Contents


saton(2)							      saton(2)


NAME    [Toc]    [Back]

     saton, satoff, satstate - control the collection of audit data

C SYNOPSIS    [Toc]    [Back]

     #include <sys/sat.h>

     int saton (int eventtype);
     int satoff	(int eventtype);
     int satstate (int eventtype);

DESCRIPTION    [Toc]    [Back]

     saton switches
      on collection of audit records of	the specified event type.

     satoff switches
      off collection of	audit records of the specified event type.

     satstate reports whether the audit	subsystem is currently collecting or
     discarding	records	of the event type specified.

     To	modify or query	the audit state	for every event	type, call saton,
     satoff, or	satstate repeatedly, once for each valid event type.

ERRORS    [Toc]    [Back]

     saton, satoff and satstate	fail if	one or more of the following
     conditions	are true:

     [ENOPKG]	    Audit is not configured on this system.

     [EPERM]	    The	caller does not	have CAP_AUDIT_CONTROL capability.

     [EDOM]	    The	specified audit	event type is not valid.  Valid	event
		    type numbers range from 1 to SAT_NTYPES-1, inclusive.

RETURN VALUE    [Toc]    [Back]

     For satstate, a non-zero (positive) return	value indicates	that the audit
     subsystem is collecting records.  A return	value of 0 indicates that the
     audit subsystem is	discarding records.  A return value of -1 indicates an
     error and errno is	set to indicate	the error.

     For saton and satoff, a return value of -1	indicates an error and errno
     is	set to indicate	the error.  Otherwise 0	is returned.

SEE ALSO    [Toc]    [Back]

      
      
     satread(2), satwrite(2)

ORIGIN    [Toc]    [Back]

     Silicon Graphics, Inc.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
crashdc Tru64 Diagnostic data collection for a running or crashed system
audcntl Tru64 audit control
satread IRIX read a block of audit record data
satwrite IRIX write a block of audit record data
sat_eventtostr IRIX convert an audit event index to/from an audit event string
mtools Tru64 Provides a collection of tools for manipulating DOS files
rnd_attach_source NetBSD functions to make a device available for entropy collection
rnd NetBSD functions to make a device available for entropy collection
rnd_add_data NetBSD functions to make a device available for entropy collection
rnd_add_uint32 NetBSD functions to make a device available for entropy collection
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service