]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commit
audit: Properly set the origin port id of audit messages.
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 11 Sep 2012 07:12:29 +0000 (00:12 -0700)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 18 Sep 2012 01:06:14 +0000 (18:06 -0700)
commit35ce9888ad2a60c95849551e7345bd547714bbff
treefe2b6e151fc9a735faebe05a57506295becfddf2
parent8aa14b64981ee4b95959e1ed331b672d053aab62
audit: Properly set the origin port id of audit messages.

For user generated audit messages set the portid field in the netlink
header to the netlink port where the user generated audit message came
from.  Reporting the process id in a port id field was just nonsense.

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: Eric Paris <eparis@redhat.com>
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/audit.c