]> 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 03:44:55 +0000 (19:44 -0800)
committerEric W. Biederman <ebiederm@xmission.com>
Sat, 1 Mar 2014 03:44:55 +0000 (19:44 -0800)
commitad2268ed7a899a99701c9c399bc29005db1b3376
treeece90969f72ebf9b06b0386762b35cb20e415dd4
parent514e66282447b557e5d2153de5368df796e8aa78
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>
include/linux/audit.h
kernel/audit.c
kernel/auditfilter.c