From: Nick Black <nickblack@linux.com>
To: Steve Grubb <sgrubb@redhat.com>
Cc: linux-audit@redhat.com
Subject: [PATCH] audit_set_pid: add wmode to man page
Date: Tue, 1 Oct 2019 00:27:58 -0400 [thread overview]
Message-ID: <20191001042758.GA9135@schwarzgerat.orthanc> (raw)
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.
reply other threads:[~2019-10-01 4:27 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20191001042758.GA9135@schwarzgerat.orthanc \
--to=nickblack@linux.com \
--cc=linux-audit@redhat.com \
--cc=sgrubb@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox