Linux-audit Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] audit_set_pid: add wmode to man page
@ 2019-10-01  4:27 Nick Black
  0 siblings, 0 replies; only message in thread
From: Nick Black @ 2019-10-01  4:27 UTC (permalink / raw)
  To: Steve Grubb; +Cc: linux-audit

audit_set_pid: add wmode to man page

The audit_set_pid man page is missing the third parameter. I've
added it, and briefly extended the usage.
Signed-off-by: Nick Black <nickblack@linux.com>
---
 docs/audit_set_pid.3 | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/docs/audit_set_pid.3 b/docs/audit_set_pid.3
index d2b33db..87c41fb 100644
--- a/docs/audit_set_pid.3
+++ b/docs/audit_set_pid.3
@@ -5,11 +5,11 @@ audit_set_pid \- Set audit daemon process ID
 
 .B #include <libaudit.h>
 .sp
-int audit_set_pid (int fd, int pid);
+int audit_set_pid (int fd, int pid, rep_wait_t wmode);
 
 .SH "DESCRIPTION"
 
-audit_set_pid tells the kernel what the pid is of the audit daemon. When the pid is set to 0, the kernel will log all events to syslog. Otherwise it will try to send events to the netlink connection that has the same pid given by this function. If for some reason the process goes away, the kernel will automatically set the value to 0 itself. Usually this function is called by the audit daemon and not an external program.
+audit_set_pid tells the kernel what the pid is of the audit daemon. When the pid is set to 0, the kernel will log all events to syslog. Otherwise it will try to send events to the netlink connection that has the same pid given by this function. If for some reason the process goes away, the kernel will automatically set the value to 0 itself. Usually this function is called by the audit daemon and not an external program. If wmode is WAIT_YES, the function will wait for an ACK from the kernel.
 
 .SH "RETURN VALUE"
 
-- 
2.23.0

-- 
nick black -=- https://www.nick-black.com
to make an apple pie from scratch,
you need first invent a universe.

^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2019-10-01  4:27 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-01  4:27 [PATCH] audit_set_pid: add wmode to man page Nick Black

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox