diff options
author | Paul Moore <paul@paul-moore.com> | 2016-11-29 16:53:26 -0500 |
---|---|---|
committer | Paul Moore <paul@paul-moore.com> | 2016-12-14 13:06:04 -0500 |
commit | 6c54e7899693dee3db67ea996e9be0e10f67920f (patch) | |
tree | da2218357864e7fcb1e111d913e27d5b3c5f3bed /include | |
parent | e1d166212894d9d959a601c4802882b877bb420a (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 (limited to 'include')
0 files changed, 0 insertions, 0 deletions