Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 May 2018 19:57:15 +0000 (UTC)
From:      Alan Somers <asomers@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r334394 - head/share/man/man4
Message-ID:  <201805301957.w4UJvFqn058564@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: asomers
Date: Wed May 30 19:57:15 2018
New Revision: 334394
URL: https://svnweb.freebsd.org/changeset/base/334394

Log:
  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

Modified:
  head/share/man/man4/auditpipe.4

Modified: head/share/man/man4/auditpipe.4
==============================================================================
--- head/share/man/man4/auditpipe.4	Wed May 30 18:34:45 2018	(r334393)
+++ head/share/man/man4/auditpipe.4	Wed May 30 19:57:15 2018	(r334394)
@@ -24,7 +24,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd May 5, 2006
+.Dd May 30, 2018
 .Dt AUDITPIPE 4
 .Os
 .Sh NAME
@@ -154,7 +154,7 @@ These flags correspond to the
 field in
 .Xr audit_control 5 .
 The ioctl argument should be of type
-.Vt u_int .
+.Vt au_mask_t .
 .It Dv AUDITPIPE_SET_PRESELECT_FLAGS
 Set the current default preselection flags for attributable events on the
 pipe.
@@ -163,7 +163,7 @@ These flags correspond to the
 field in
 .Xr audit_control 5 .
 The ioctl argument should be of type
-.Vt u_int .
+.Vt au_mask_t .
 .It Dv AUDITPIPE_GET_PRESELECT_NAFLAGS
 Retrieve the current default preselection flags for non-attributable events
 on the pipe.
@@ -172,7 +172,7 @@ These flags correspond to the
 field in
 .Xr audit_control 5 .
 The ioctl argument should be of type
-.Vt u_int .
+.Vt au_mask_t .
 .It Dv AUDITPIPE_SET_PRESELECT_NAFLAGS
 Set the current default preselection flags for non-attributable events on the
 pipe.
@@ -181,7 +181,7 @@ These flags correspond to the
 field in
 .Xr audit_control 5 .
 The ioctl argument should be of type
-.Vt u_int .
+.Vt au_mask_t .
 .It Dv AUDITPIPE_GET_PRESELECT_AUID
 Query the current preselection masks for a specific auid on the pipe.
 The ioctl argument should be of type
@@ -245,7 +245,7 @@ manual page for information on audit-related bugs and 
 .Pp
 The configurable preselection mechanism mirrors the selection model present
 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
 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201805301957.w4UJvFqn058564>