]> 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)
commitc13a3d5bb663aa431009ad1f9988a8bc142a0cda
treeece90969f72ebf9b06b0386762b35cb20e415dd4
parent71234f8aa47761136ea9cfedb580c814a0ea644a
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