]> git.karo-electronics.de Git - linux-beck.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)
commit6f285b19d09f72e801525f5eea1bdad22e559bf0
treeece90969f72ebf9b06b0386762b35cb20e415dd4
parent48095d991d85687569ac025b18a6c7ae1632c9f7
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