auditpipe(4): fix some ioctl arguments in the man page

Fix the argument types for the AUDITPIPE_[GS]ET_PRESELECT_(NA)?FLAGS ioctls.
Also, fix some grammar.

[skip ci]

PR:		226713
Submitted by:	aniketp
MFC after:	2 weeks
Sponsored by:	Google, Inc. (GSoC 2018)
Differential Revision:	https://reviews.freebsd.org/D15620
This commit is contained in:
Alan Somers 2018-05-30 19:57:15 +00:00
parent f4c84137f9
commit d91dccb1f5
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=334394

View File

@ -24,7 +24,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 5, 2006 .Dd May 30, 2018
.Dt AUDITPIPE 4 .Dt AUDITPIPE 4
.Os .Os
.Sh NAME .Sh NAME
@ -154,7 +154,7 @@ These flags correspond to the
field in field in
.Xr audit_control 5 . .Xr audit_control 5 .
The ioctl argument should be of type The ioctl argument should be of type
.Vt u_int . .Vt au_mask_t .
.It Dv AUDITPIPE_SET_PRESELECT_FLAGS .It Dv AUDITPIPE_SET_PRESELECT_FLAGS
Set the current default preselection flags for attributable events on the Set the current default preselection flags for attributable events on the
pipe. pipe.
@ -163,7 +163,7 @@ These flags correspond to the
field in field in
.Xr audit_control 5 . .Xr audit_control 5 .
The ioctl argument should be of type The ioctl argument should be of type
.Vt u_int . .Vt au_mask_t .
.It Dv AUDITPIPE_GET_PRESELECT_NAFLAGS .It Dv AUDITPIPE_GET_PRESELECT_NAFLAGS
Retrieve the current default preselection flags for non-attributable events Retrieve the current default preselection flags for non-attributable events
on the pipe. on the pipe.
@ -172,7 +172,7 @@ These flags correspond to the
field in field in
.Xr audit_control 5 . .Xr audit_control 5 .
The ioctl argument should be of type The ioctl argument should be of type
.Vt u_int . .Vt au_mask_t .
.It Dv AUDITPIPE_SET_PRESELECT_NAFLAGS .It Dv AUDITPIPE_SET_PRESELECT_NAFLAGS
Set the current default preselection flags for non-attributable events on the Set the current default preselection flags for non-attributable events on the
pipe. pipe.
@ -181,7 +181,7 @@ These flags correspond to the
field in field in
.Xr audit_control 5 . .Xr audit_control 5 .
The ioctl argument should be of type The ioctl argument should be of type
.Vt u_int . .Vt au_mask_t .
.It Dv AUDITPIPE_GET_PRESELECT_AUID .It Dv AUDITPIPE_GET_PRESELECT_AUID
Query the current preselection masks for a specific auid on the pipe. Query the current preselection masks for a specific auid on the pipe.
The ioctl argument should be of type The ioctl argument should be of type
@ -245,7 +245,7 @@ manual page for information on audit-related bugs and limitations.
.Pp .Pp
The configurable preselection mechanism mirrors the selection model present The configurable preselection mechanism mirrors the selection model present
for the global audit trail. for the global audit trail.
It might be desirable to provided a more flexible selection model. It might be desirable to provide a more flexible selection model.
.Pp .Pp
The per-pipe audit event queue is fifo, with drops occurring if either the The per-pipe audit event queue is fifo, with drops occurring if either the
user thread provides in sufficient for the record on the queue head, or on user thread provides in sufficient for the record on the queue head, or on