Skip to content
Commit 6c54e789 authored by Paul Moore's avatar Paul Moore
Browse files

audit: handle a clean auditd shutdown with grace



When auditd stops cleanly it sets 'auditd_pid' to 0 with an
AUDIT_SET message, in this case we should reset our backlog
queues via the auditd_reset() function.  This patch also adds
a 'auditd_pid' check to the top of kauditd_send_unicast_skb()
so we can fail quicker.

Signed-off-by: default avatarPaul Moore <paul@paul-moore.com>
parent e1d16621
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment