diff options
author | 2016-11-29 16:53:26 -0500 | |
---|---|---|
committer | 2016-12-14 13:06:04 -0500 | |
commit | 6c54e7899693dee3db67ea996e9be0e10f67920f (patch) | |
tree | da2218357864e7fcb1e111d913e27d5b3c5f3bed /tools/perf/util/scripting-engines/trace-event-python.c | |
parent | audit: wake up kauditd_thread after auditd registers (diff) | |
download | wireguard-linux-6c54e7899693dee3db67ea996e9be0e10f67920f.tar.xz wireguard-linux-6c54e7899693dee3db67ea996e9be0e10f67920f.zip |
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 'tools/perf/util/scripting-engines/trace-event-python.c')
0 files changed, 0 insertions, 0 deletions