Manual Reference Pages - AU_DOMAIN_TO_BSM (3)
- convert between BSM and local protocol domains
au_bsm_to_domain u_short bsm_domain int *local_domainp
au_domain_to_bsm int local_domain
These interfaces may be used to convert between the local and BSM protocol
function accepts a BSM domain,
and converts it to a local domain, such as those passed to
that will be stored in the integer pointed to by
This call will fail if the BSM domain cannot be mapped into a local domain,
which may occur if the socket token was generated on another operating
function accepts a local domain, and returns the BSM domain for it.
This call cannot fail, and instead returns a BSM domain indicating to a later
decoder that the domain could not be encoded.
returns 0 and a converted domain; on failure, it returns -1 but does not set
were introduced in OpenBSM 1.1.
These functions were implemented by
.An 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.
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.