au_to_trailer3
Routines for generating bsm audit tokens
Part of au_to_arg(3).
Usage
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
token_t *
Library
library “libbsm”
Overview
These interfaces support the allocation of BSM audit tokens, represented by token_t, for various data types.
au_errno_to_bsm(3) must be used to convert local errno(2) errors to BSM error numbers before they are passed to au_to_return(), au_to_return32(), and au_to_return64().
Return values
On success, a pointer to a token_t will be returned; the allocated token_t can be freed via a call to au_free_token(3). On failure, NULL will be returned, and an error condition returned via errno.
History
- FreeBSD 16.0-CURRENT (2026-10-27) to FreeBSD 12.0-RELEASE: the text shown here
- FreeBSD 11.4-RELEASE to FreeBSD 10.3-RELEASE
- FreeBSD 10.2-RELEASE to FreeBSD 8.0-RELEASE
- FreeBSD 7.4-RELEASE to FreeBSD 6.3-RELEASE
- FreeBSD 6.2-RELEASE