|
|
cc [ flag ... ] file ... -lbsm -lsocket -lnsl -lintl [ library ... ]
#include <sys/param.h>
#include <bsm/audit.h>
int audit( caddr_t record, int length);
The functionality described in this man page is available only if the Basic Security Module (BSM) has been enabled. See bsmconv.1m for more information.
The kernel validates the record header token type and length, and sets the time stamp value before writing the record to the audit log. The kernel does not do any preselection for user-level generated events. If the audit policy is set to include sequence or trailer tokens, the kernel will append them to the record.
Only the super-user may successfully execute this call.
audit() fails if one or more of the following are true:
|
|
Created by unroff & hp-tools. © by Hans-Peter Bischof. All Rights Reserved (1997).
Last modified 21/April/97