|
NAMEau_close , au_close_buffer ,
au_close_token , au_open ,
au_write —
create and commit audit records
LIBRARYBasic Security Module Library (libbsm, -lbsm)SYNOPSIS#include <bsm/libbsm.h>
int
int
int
int
int
DESCRIPTIONThese interfaces allow applications to allocate audit records, construct a record using a series of tokens, and commit the audit record to the system event log. An extension API is also provided to commit the record to an in-memory buffer rather than the system audit log.The The The The The RETURN VALUESThe functionau_open () returns a non-negative audit
record descriptor number on success, or a negative value on failure, along
with error information in errno.
The functions SEE ALSOaudit_submit(3), libbsm(3)HISTORYThe OpenBSM implementation was created by McAfee Research, the security division of McAfee Inc., under contract to Apple Computer, Inc., in 2004. It was subsequently adopted by the TrustedBSD Project as the foundation for the OpenBSM distribution.AUTHORSThis software was created by Robert Watson, Wayne Salamon, and Suresh Krishnaswamy for McAfee Research, the security research division of McAfee, Inc., under contract to Apple Computer, Inc.The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems. BUGSCurrently,au_open () does not reserve kernel resources
necessary to commit the record to the trail; on systems supporting
au_close (), the call will block until resources are
available to commit the record. However, this leads to the possibility of an
action being permitted without the record being guaranteed to go to disk.
Ideally, au_open () would reserve resources necessary
to commit any submitted record, releasing them on
au_close ().
Visit the GSP FreeBSD Man Page Interface. |