]> git.baikalelectronics.ru Git - kernel.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)
commit685b304597b2fdc687fe1a95ce02c05ab8f5b990
tree42a88e159c94d87866d3d091a7d45deac4f0ee2d
parent510a89ae9d838bf7e299704448a27aa47644e168
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