commit | 6c54e7899693dee3db67ea996e9be0e10f67920f | [log] [tgz] |
---|---|---|
author | Paul Moore <paul@paul-moore.com> | Tue Nov 29 16:53:26 2016 -0500 |
committer | Paul Moore <paul@paul-moore.com> | Wed Dec 14 13:06:04 2016 -0500 |
tree | da2218357864e7fcb1e111d913e27d5b3c5f3bed | |
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>