Re: [RFC PATCH 7/7] audit: wake up kauditd_thread after auditd registers

2015-11-05 Thread Paul Moore
On Thursday, October 22, 2015 02:53:20 PM Richard Guy Briggs wrote: > When auditd is restarted, even though the kauditd_thread is present, it > remains dormant until the next audit log message is queued. > > Wake up the kauditd_thread in the kauditd_wait queue immediately when > auditd registers i

[RFC PATCH 7/7] audit: wake up kauditd_thread after auditd registers

2015-10-22 Thread Richard Guy Briggs
When auditd is restarted, even though the kauditd_thread is present, it remains dormant until the next audit log message is queued. Wake up the kauditd_thread in the kauditd_wait queue immediately when auditd registers its availability to drain the queue. Signed-off-by: Richard Guy Briggs --- k