|
|
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)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.