File:  [Power 6/32 Unix Tahoe 4.2BSD] / cci / usr / src / man / man2 / audit.2
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Sun Jul 28 12:24:19 2019 UTC (6 years, 11 months ago) by root
Branches: bsd, MAIN
CVS tags: v12b, v121, HEAD
Power 6/32 Unix version 1.2b

.TH AUDIT 2 01/03/84
.SH NAME
audit \- modify/query audit trail security status
.SH SYNOPSIS
.nf
.B #include <sys/audit.h>
.PP
.B audit(path, flag)
.B char *path,
.B int flag;
.fi
.SH DESCRIPTION
The audit call will modify or request the current audit
trail security status.
.I Path 
points 
to a pathname naming the desired file.  The effective user-id
of the process must match the owner of the file or be 
superuser to change the current audit trail security
status.
.PP
.I Flag
can be assigned one of the following:
.PP
.TP .88i
.SM
.B SECURE
Turn on audit trail logging for the specified file.
.TP
.SM
.B UNSECURE
Turn off audit trail logging for the specified file.
.TP
.SM
.B QUERY
Request current audit trail security status of the 
specified file.
.TP
.SM
.B MASK
Set the audit trail security status in accordance with
the audit trail mask bit in the umask.
.SH RETURN VALUE
Upon successful completion the current audit trail security 
status (SECURE or UNSECURE) will be returned.  Otherwise, a
value of -1 is returned and errno is set to indicate the error.
.SH SEE ALSO
audit(1), umask(2)

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.