|
NAMEau_bsm_to_errno ,
au_errno_to_bsm , au_strerror
—
convert between BSM and local error numbers
LIBRARYBasic Security Module Library (libbsm, -lbsm)SYNOPSIS#include <bsm/libbsm.h>
int
u_char
const char *
DESCRIPTIONThese interfaces may be used to convert between the local ( errno(2)) and BSM error number spaces found in BSM return tokens.The The The RETURN VALULESOn success,au_bsm_to_errno () returns 0 and a converted
error value; on failure, it returns -1 but does not set
errno(2).
On success, SEE ALSOau_to_return(3), au_to_return32(3), au_to_return64(3), libbsm(3)HISTORYau_bsm_to_errno () and
au_errno_to_bsm () were introduced in OpenBSM 1.1.
AUTHORSThese functions were implemented by Robert Watson under contract to Apple Inc.The Basic Security Module (BSM) interface to audit records and audit event stream format were defined by Sun Microsystems. BUGSau_strerror is unable to provide localized strings for
errors not available in the local operating system.
Visit the GSP FreeBSD Man Page Interface. |