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

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

Contents


satread(2)							    satread(2)


NAME    [Toc]    [Back]

     satread - read a block of audit record data

C SYNOPSIS    [Toc]    [Back]

     #include <sys/sat.h>

     int satread (char *buffer,	unsigned nbytes)

DESCRIPTION    [Toc]    [Back]

     satread attempts to read nbytes bytes from	the security audit trail
     record queue into the buffer pointed to by	buffer.

     satread destroys the data that has	been read.  A subsequent satread call
     will read new and different data.

ERRORS    [Toc]    [Back]

     satread will fail if one or more of the following are true:

     [ENOPKG]	    Audit is not configured on this system.

     [EPERM]	    The	caller doesn't have CAP_AUDIT_CONTROL capability.

     [EFAULT]	    data cannot	be copied from the kernel into buffer.

     [EACCES]	    the	caller's process label does not	dominate dbadmin,
		    which is to	say, it	must dominate MsenAdmin,MintHigh.

     [EACCES]	    there is a sat daemon running on the system, and the
		    caller is not that daemon.

RETURN VALUE    [Toc]    [Back]

     A return value of -1 indicates an error and errno is set to indicate the
     error.  Otherwise the number of bytes copied into buffer is returned.

SEE ALSO    [Toc]    [Back]

      
      
     satd(1m), satoff(2), saton(2), satstate(2), satwrite(2)

ORIGIN    [Toc]    [Back]

     Silicon Graphics, Inc.


									PPPPaaaaggggeeee 1111
[ Back ]
 Similar pages
Name OS Title
satwrite IRIX write a block of audit record data
sat_read_header_info IRIX Portable interfaces to read audit record headers
st_fail_overruns HP-UX determines whether variable block mode read requests smaller than the physical record size will fail
audgen Tru64 Generates an audit record
audgen Tru64 generate an audit record
audgenl Tru64 generate an audit record
audwrite HP-UX write an audit record for a self-auditing process
sat_read_file_info IRIX Portable interfaces to read audit file headers
cdxar Tru64 Read the Extended Attribute Record from a CD-ROM
CDseekblock IRIX set read pointer for CD-ROM to start of specified block
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service