Deleted Added
full compact
au_control.3 (162503) au_control.3 (162621)
1.\"-
1.\"-
2.\" Copyright (c) 2005 Robert N. M. Watson
2.\" Copyright (c) 2005-2006 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.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright

--- 7 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.\"
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.\" notice, this list of conditions and the following disclaimer.
10.\" 2. Redistributions in binary form must reproduce the above copyright

--- 7 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_control.3#4 $
26.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#5 $
27.\"
28.Dd April 19, 2005
29.Dt AU_CONTROL 3
30.Os
31.Sh NAME
32.Nm setac ,
33.Nm endac ,
34.Nm getacdir ,
35.Nm getacmin ,
27.\"
28.Dd April 19, 2005
29.Dt AU_CONTROL 3
30.Os
31.Sh NAME
32.Nm setac ,
33.Nm endac ,
34.Nm getacdir ,
35.Nm getacmin ,
36.Nm getacfilesz ,
36.Nm getacflg ,
37.Nm getacna ,
38.Nm getacpol ,
39.Nm au_poltostr
40.Nm au_strtopol
41.Nd "Look up information from the audit_control database"
42.Sh LIBRARY
43.Lb libbsm
44.Sh SYNOPSIS
45.In libbsm.h
46.Ft void
47.Fn setac "void"
48.Ft void
49.Fn endac "void"
50.Ft int
51.Fn getacdir "char *name" "int len"
52.Ft int
53.Fn getacmin "int *min_val"
54.Ft int
37.Nm getacflg ,
38.Nm getacna ,
39.Nm getacpol ,
40.Nm au_poltostr
41.Nm au_strtopol
42.Nd "Look up information from the audit_control database"
43.Sh LIBRARY
44.Lb libbsm
45.Sh SYNOPSIS
46.In libbsm.h
47.Ft void
48.Fn setac "void"
49.Ft void
50.Fn endac "void"
51.Ft int
52.Fn getacdir "char *name" "int len"
53.Ft int
54.Fn getacmin "int *min_val"
55.Ft int
56.Fn getacfilesz "size_t *size_val"
57.Ft int
55.Fn getacflg "char *auditstr" "int len"
56.Ft int
57.Fn getacna "char *auditstr" "int len"
58.Ft int
59.Fn getacpol "char *auditstr" "size_t len"
60.Ft ssize_t
61.Fn au_poltostr "long policy" "size_t maxsize" "char *buf"
62.Ft int

--- 20 unchanged lines hidden (view full) ---

83.Va len .
84.Pp
85.Fn getacmin
86returns the minimum free disk space for the audit log target file system via
87the passed
88.Va min_val
89variable.
90.Pp
58.Fn getacflg "char *auditstr" "int len"
59.Ft int
60.Fn getacna "char *auditstr" "int len"
61.Ft int
62.Fn getacpol "char *auditstr" "size_t len"
63.Ft ssize_t
64.Fn au_poltostr "long policy" "size_t maxsize" "char *buf"
65.Ft int

--- 20 unchanged lines hidden (view full) ---

86.Va len .
87.Pp
88.Fn getacmin
89returns the minimum free disk space for the audit log target file system via
90the passed
91.Va min_val
92variable.
93.Pp
94.Fn getacfilesz
95returns the audit trail rotation size in the passed size_t buffer
96.Fa size_val .
97.Pp
91.Fn getacflg
92returns the audit system flags via the the passed character buffer
93.Va auditstr
94of length
95.Va len .
96.Pp
97.Fn getacna
98returns the non-attributable flags via the passed character buffer

--- 74 unchanged lines hidden ---
98.Fn getacflg
99returns the audit system flags via the the passed character buffer
100.Va auditstr
101of length
102.Va len .
103.Pp
104.Fn getacna
105returns the non-attributable flags via the passed character buffer

--- 74 unchanged lines hidden ---