au_token.3 (155131) | au_token.3 (155364) |
---|---|
1.\"- 2.\" Copyright (c) 2005 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 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#4 $ | 26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_token.3#5 $ |
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 , --- 139 unchanged lines hidden (view full) --- 174.Ft token_t * 175.Fn au_to_header32 "int rec_size" "au_event_t e_type" "au_emod_t emod" 176.Ft token_t * 177.Fn au_to_header64 "int rec_size" "au_event_t e_type" "au_emod_t e_mod" 178.Ft token_t * 179.Fn au_to_trailer "int rec_size" 180.Sh DESCRIPTION 181These interfaces support the allocation of BSM audit tokens, represented by | 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 , --- 139 unchanged lines hidden (view full) --- 174.Ft token_t * 175.Fn au_to_header32 "int rec_size" "au_event_t e_type" "au_emod_t emod" 176.Ft token_t * 177.Fn au_to_header64 "int rec_size" "au_event_t e_type" "au_emod_t e_mod" 178.Ft token_t * 179.Fn au_to_trailer "int rec_size" 180.Sh DESCRIPTION 181These interfaces support the allocation of BSM audit tokens, represented by |
182.Dt token_t , | 182.Ft token_t , |
183for various data types. 184.Sh RETURN VALUES | 183for various data types. 184.Sh RETURN VALUES |
185On sucess, a pointer to a | 185On success, a pointer to a |
186.Vt token_t 187will be returned; the allocated 188.Vt token_t 189can be freed via a call to 190.Xr au_free_token 3 . 191On failure, 192.Dv NULL 193will be returned, and an error condition returned via --- 16 unchanged lines hidden --- | 186.Vt token_t 187will be returned; the allocated 188.Vt token_t 189can be freed via a call to 190.Xr au_free_token 3 . 191On failure, 192.Dv NULL 193will be returned, and an error condition returned via --- 16 unchanged lines hidden --- |