au_token.3 (185573) | au_token.3 (186647) |
---|---|
1.\"- 2.\" Copyright (c) 2005-2007 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" | 1.\"- 2.\" Copyright (c) 2005-2007 Robert N. M. Watson 3.\" All rights reserved. 4.\" 5.\" Redistribution and use in source and binary forms, with or without 6.\" modification, are permitted provided that the following conditions 7.\" are met: 8.\" 1. Redistributions of source code must retain the above copyright --- 9 unchanged lines hidden (view full) --- 18.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 19.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 20.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 21.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 22.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 23.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 24.\" SUCH DAMAGE. 25.\" |
26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#15 $ | 26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#16 $ |
27.\" 28.Dd April 19, 2005 29.Dt AU_TOKEN 3 30.Os 31.Sh NAME 32.Nm au_to_arg32 , 33.Nm au_to_arg64 , 34.Nm au_to_arg , --- 169 unchanged lines hidden (view full) --- 204.Ft "token_t *" 205.Fn au_to_trailer "int rec_size" 206.Ft "token_t *" 207.Fn au_to_zonename "const char *zonename" 208.Sh DESCRIPTION 209These interfaces support the allocation of BSM audit tokens, represented by 210.Vt token_t , 211for various data types. | 27.\" 28.Dd April 19, 2005 29.Dt AU_TOKEN 3 30.Os 31.Sh NAME 32.Nm au_to_arg32 , 33.Nm au_to_arg64 , 34.Nm au_to_arg , --- 169 unchanged lines hidden (view full) --- 204.Ft "token_t *" 205.Fn au_to_trailer "int rec_size" 206.Ft "token_t *" 207.Fn au_to_zonename "const char *zonename" 208.Sh DESCRIPTION 209These interfaces support the allocation of BSM audit tokens, represented by 210.Vt token_t , 211for various data types. |
212.Pp 213.Xr au_errno_to_bsm 3 214must be used to convert local 215.Xr errno 2 216errors to BSM error numbers before they are passed to 217.Fn au_to_return , 218.Fn au_to_return32 , 219and 220.Fn au_to_return64 . |
|
212.Sh RETURN VALUES 213On success, a pointer to a 214.Vt token_t 215will be returned; the allocated 216.Vt token_t 217can be freed via a call to 218.Xr au_free_token 3 . 219On failure, 220.Dv NULL 221will be returned, and an error condition returned via 222.Va errno . 223.Sh SEE ALSO | 221.Sh RETURN VALUES 222On success, a pointer to a 223.Vt token_t 224will be returned; the allocated 225.Vt token_t 226can be freed via a call to 227.Xr au_free_token 3 . 228On failure, 229.Dv NULL 230will be returned, and an error condition returned via 231.Va errno . 232.Sh SEE ALSO |
233.Xr au_errno_to_bsm 3 , |
|
224.Xr libbsm 3 225.Sh HISTORY 226The OpenBSM implementation was created by McAfee Research, the security 227division of McAfee Inc., under contract to Apple Computer, Inc., in 2004. 228It was subsequently adopted by the TrustedBSD Project as the foundation for 229the OpenBSM distribution. 230.Sh AUTHORS 231.An -nosplit 232This software was created by 233.An Robert Watson , 234.An Wayne Salamon , 235and 236.An Suresh Krishnaswamy 237for McAfee Research, the security research division of McAfee, 238Inc., under contract to Apple Computer, Inc. 239.Pp 240The Basic Security Module (BSM) interface to audit records and audit event 241stream format were defined by Sun Microsystems. | 234.Xr libbsm 3 235.Sh HISTORY 236The OpenBSM implementation was created by McAfee Research, the security 237division of McAfee Inc., under contract to Apple Computer, Inc., in 2004. 238It was subsequently adopted by the TrustedBSD Project as the foundation for 239the OpenBSM distribution. 240.Sh AUTHORS 241.An -nosplit 242This software was created by 243.An Robert Watson , 244.An Wayne Salamon , 245and 246.An Suresh Krishnaswamy 247for McAfee Research, the security research division of McAfee, 248Inc., under contract to Apple Computer, Inc. 249.Pp 250The Basic Security Module (BSM) interface to audit records and audit event 251stream format were defined by Sun Microsystems. |