#include <sys/label.h> #include <sys/audit.h>
int audit (record) audit_record_t *record;
The audit() system call is used to write a record to the system audit log file. The data pointed to by record is written to the audit log file. The data should be a well-formed audit record as described by audit.log.5 The kernel sets the time stamp value in the record and performs a minimal check on the data before writing it to the audit log file.
Only the super-user may successfully execute this call.
audit() returns:
Created by unroff & hp-tools. © somebody (See intro for details). All Rights Reserved. Last modified 11/5/97