summaryrefslogtreecommitdiff
path: root/epoll2.h
diff options
context:
space:
mode:
Diffstat (limited to 'epoll2.h')
0 files changed, 0 insertions, 0 deletions
t-next.git/tree/?h=nds-private-remove&id=6c54e7899693dee3db67ea996e9be0e10f67920f'>da2218357864e7fcb1e111d913e27d5b3c5f3bed parente1d166212894d9d959a601c4802882b877bb420a (diff)
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: Paul Moore <paul@paul-moore.com>
Diffstat
-rw-r--r--kernel/audit.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/kernel/audit.c b/kernel/audit.c