From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Black Subject: [PATCH] audit_set_pid: add wmode to man page Date: Tue, 1 Oct 2019 00:27:58 -0400 Message-ID: <20191001042758.GA9135@schwarzgerat.orthanc> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: linux-audit-bounces@redhat.com Errors-To: linux-audit-bounces@redhat.com To: Steve Grubb Cc: linux-audit@redhat.com List-Id: linux-audit@redhat.com 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 --- 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 .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.