]> git.baikalelectronics.ru Git - kernel.git/commit
audit: Send replies in the proper network namespace.
authorEric W. Biederman <ebiederm@xmission.com>
Sat, 1 Mar 2014 04:36:55 +0000 (20:36 -0800)
committerEric Paris <eparis@redhat.com>
Thu, 20 Mar 2014 14:11:02 +0000 (10:11 -0400)
commitfa2639a211e3872723d8c6810262893177e9f76a
tree7f8137af9685dbe6c2ddbd686feaf13808ab7d2c
parent3f38b6796a562d34702de50dc930878d66a18191
audit: Send replies in the proper network namespace.

In perverse cases of file descriptor passing the current network
namespace of a process and the network namespace of a socket used by
that socket may differ.  Therefore use the network namespace of the
appropiate socket to ensure replies always go to the appropiate
socket.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Acked-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Eric Paris <eparis@redhat.com>
include/linux/audit.h
kernel/audit.c
kernel/auditfilter.c