]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
audit: queue netlink multicast sends just like we do for unicast sends
authorPaul Moore <paul@paul-moore.com>
Tue, 29 Nov 2016 21:53:24 +0000 (16:53 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 14 Dec 2016 18:06:04 +0000 (13:06 -0500)
commit4aa83872d346806d9b54768aa0d1329050542bad
tree42a88e159c94d87866d3d091a7d45deac4f0ee2d
parent6c9255645350ce2aecb7c3cd032d0e93d4a7a71a
audit: queue netlink multicast sends just like we do for unicast sends

Sending audit netlink multicast messages is bad for all the same
reasons that sending audit netlink unicast messages is bad, so this
patch reworks things so that we don't do the multicast send in
audit_log_end(), we do it from the dedicated kauditd_thread thread just
as we do for unicast messages.

See the GitHub issues below for more information/history:

 * https://github.com/linux-audit/audit-kernel/issues/23
 * https://github.com/linux-audit/audit-kernel/issues/22

Signed-off-by: Paul Moore <paul@paul-moore.com>
kernel/audit.c