![]() |
![]()
| ![]() |
![]()
NAMEau_fetch_tok , au_print_tok ,
au_read_rec —
perform I/O involving an audit record
LIBRARYBasic Security Module Library (libbsm, -lbsm)SYNOPSIS#include <bsm/libbsm.h>
int
void
int
DESCRIPTIONThese interfaces support input and output (I/O) involving audit records, internalizing an audit record from a byte stream, converting a token to either a raw or default string, and reading a single record from a file.The The The A typical use of these routines might open a file with
fopen(3),
then read records from the file sequentially by calling
RETURN VALUESTheau_fetch_tok () and
au_read_rec () functions return 0 on success, or -1 on
failure along with additional error information returned via
errno.
SEE ALSOfree(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. BUGSThe errno variable may not always be properly set in the event of an error.
|