summaryrefslogtreecommitdiffstats
path: root/contrib/openbsm/libbsm/au_control.3
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/openbsm/libbsm/au_control.3')
-rw-r--r--contrib/openbsm/libbsm/au_control.324
1 files changed, 23 insertions, 1 deletions
diff --git a/contrib/openbsm/libbsm/au_control.3 b/contrib/openbsm/libbsm/au_control.3
index e17ae16..8cad121 100644
--- a/contrib/openbsm/libbsm/au_control.3
+++ b/contrib/openbsm/libbsm/au_control.3
@@ -23,7 +23,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#9 $
+.\" $P4: //depot/projects/trustedbsd/openbsm/libbsm/au_control.3#10 $
.\"
.Dd April 19, 2005
.Dt AU_CONTROL 3
@@ -33,6 +33,7 @@
.Nm endac ,
.Nm getacdir ,
.Nm getacmin ,
+.Nm getacexpire ,
.Nm getacfilesz ,
.Nm getacflg ,
.Nm getacna ,
@@ -53,6 +54,8 @@
.Ft int
.Fn getacmin "int *min_val"
.Ft int
+.Fn getacexpire "int *andflg, time_t *age, size_t *size"
+.Ft int
.Fn getacfilesz "size_t *size_val"
.Ft int
.Fn getacflg "char *auditstr" "int len"
@@ -101,6 +104,24 @@ the passed
variable.
.Pp
The
+.Fn getacexpire
+function
+returns the audit trail file expiration parameters in the passed
+.Vt int
+buffer
+.Fa andflg ,
+.Vt time_t
+buffer
+.Fa age
+and
+.Vt size_t
+buffer
+.Fa size .
+If the parameter is not specified in the
+.Xr audit_control 5
+file it is set to zero.
+.Pp
+The
.Fn getacfilesz
function
returns the audit trail rotation size in the passed
@@ -153,6 +174,7 @@ to a numeric audit policy mask returned via
The
.Fn getacdir ,
.Fn getacmin ,
+.Fn getacexpire ,
.Fn getacflg ,
.Fn getacna ,
.Fn getacpol ,
OpenPOWER on IntegriCloud