audit: move kaudit thread start from auditd registration to kaudit init (#2)
authorRichard Guy Briggs <rbriggs@redhat.com>
Tue, 29 Nov 2016 21:53:23 +0000 (16:53 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 14 Dec 2016 18:06:04 +0000 (13:06 -0500)
commit55a6f170a413cd8dc7a3a52e5a326e1a87579b4f
tree3e2336faf3b6e29962b20095df6d3d6c4a415608
parent8fae47705685fcaa75a1fe4c8c3e18300a702979
audit: move kaudit thread start from auditd registration to kaudit init (#2)

Richard made this change some time ago but Eric backed it out because
the rest of the supporting code wasn't ready.  In order to move the
netlink multicast send to kauditd_thread we need to ensure the
kauditd_thread is always running, so restore commit 6ff5e459 ("audit:
move kaudit thread start from auditd registration to kaudit init").

Signed-off-by: Richard Guy Briggs <rbriggs@redhat.com>
[PM: brought forward and merged based on Richard's old patch]
Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c