|
|
1.1 ! root 1: .TH AUDIT 2 01/03/84 ! 2: .SH NAME ! 3: audit \- modify/query audit trail security status ! 4: .SH SYNOPSIS ! 5: .nf ! 6: .B #include <sys/audit.h> ! 7: .PP ! 8: .B audit(path, flag) ! 9: .B char *path, ! 10: .B int flag; ! 11: .fi ! 12: .SH DESCRIPTION ! 13: The audit call will modify or request the current audit ! 14: trail security status. ! 15: .I Path ! 16: points ! 17: to a pathname naming the desired file. The effective user-id ! 18: of the process must match the owner of the file or be ! 19: superuser to change the current audit trail security ! 20: status. ! 21: .PP ! 22: .I Flag ! 23: can be assigned one of the following: ! 24: .PP ! 25: .TP .88i ! 26: .SM ! 27: .B SECURE ! 28: Turn on audit trail logging for the specified file. ! 29: .TP ! 30: .SM ! 31: .B UNSECURE ! 32: Turn off audit trail logging for the specified file. ! 33: .TP ! 34: .SM ! 35: .B QUERY ! 36: Request current audit trail security status of the ! 37: specified file. ! 38: .TP ! 39: .SM ! 40: .B MASK ! 41: Set the audit trail security status in accordance with ! 42: the audit trail mask bit in the umask. ! 43: .SH RETURN VALUE ! 44: Upon successful completion the current audit trail security ! 45: status (SECURE or UNSECURE) will be returned. Otherwise, a ! 46: value of -1 is returned and errno is set to indicate the error. ! 47: .SH SEE ALSO ! 48: audit(1), umask(2)
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.