]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commit
audit: kernel generated netlink traffic should have a portid of 0
authorPaul Moore <paul@paul-moore.com>
Tue, 2 May 2017 14:16:05 +0000 (10:16 -0400)
committerPaul Moore <paul@paul-moore.com>
Tue, 2 May 2017 14:16:05 +0000 (10:16 -0400)
commit45a0642b4d021a2f50d5db9c191b5bfe60bfa1c7
treed63e9090ba3ebaa02cb6c94717b5c285c1fd93ec
parenta9d1620877748375cf60b43ef3fa5f61ab6d9f24
audit: kernel generated netlink traffic should have a portid of 0

We were setting the portid incorrectly in the netlink message headers,
fix that to always be 0 (nlmsg_pid = 0).

Signed-off-by: Paul Moore <paul@paul-moore.com>
Reviewed-by: Richard Guy Briggs <rgb@redhat.com>
include/linux/audit.h
kernel/audit.c
kernel/audit.h
kernel/auditfilter.c