summaryrefslogtreecommitdiffstats
path: root/share/man/man4/auditpipe.4
diff options
context:
space:
mode:
authorrwatson <rwatson@FreeBSD.org>2006-08-26 17:59:31 +0000
committerrwatson <rwatson@FreeBSD.org>2006-08-26 17:59:31 +0000
commitc9215ad31ee7151f14480cf208a23d1755c2fb75 (patch)
treecf08b4fc9b38ca8232298b00c544efb89faf19b5 /share/man/man4/auditpipe.4
parenta1c6033ca74cc1b61ac2df034d45311a95776cc2 (diff)
downloadFreeBSD-src-c9215ad31ee7151f14480cf208a23d1755c2fb75.zip
FreeBSD-src-c9215ad31ee7151f14480cf208a23d1755c2fb75.tar.gz
Allow the user process to query the kernel's notion of a maximum
audit record size at run-time, which can be used by the user process to size the user space buffer it reads into from the audit pipe. Perforce change: 105098 Obtained from: TrustedBSD Project
Diffstat (limited to 'share/man/man4/auditpipe.4')
-rw-r--r--share/man/man4/auditpipe.45
1 files changed, 4 insertions, 1 deletions
diff --git a/share/man/man4/auditpipe.4 b/share/man/man4/auditpipe.4
index 9a7f208..9f77481 100644
--- a/share/man/man4/auditpipe.4
+++ b/share/man/man4/auditpipe.4
@@ -74,7 +74,7 @@ preselection parameters independent of the global audit trail parameters.
.Ss Audit Pipe Queue Ioctls
The following ioctls retrieve and set various audit pipe record queue
properties:
-.Bl -tag -width AUDITPIPE_GET_QLIMIT_MIN
+.Bl -tag -width AUDITPIPE_GET_MAXAUDITDATA
.It AUDITPIPE_GET_QLEN
Query the current number of records available for reading on the pipe.
.It AUDITPIPE_GET_QLIMIT
@@ -95,6 +95,9 @@ reading on the pipe.
Flush all outstanding records on the audit pipe; useful after setting initial
preselection properties to delete records queued during the configuration
process which may not match the interests of the user process.
+.It AUDITPIPE_GET_MAXAUDITDATA
+Query the maximum size of an audit record, which is a useful minimum size for
+a user space buffer intended to hold audit records read from the audit pipe.
.El
.Ss Audit Pipe Preselection Mode Ioctls
By default, the audit pipe facility configures pipes to present records
OpenPOWER on IntegriCloud