diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2014-02-04 02:25:33 +0100 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2014-02-28 13:04:33 +0100 |
commit | 48095d991d85687569ac025b18a6c7ae1632c9f7 (patch) | |
tree | f26908756c405000b301410ab2294ad7d69ca300 /include | |
parent | Linus 3.14-rc1 (diff) | |
download | linux-48095d991d85687569ac025b18a6c7ae1632c9f7.tar.xz linux-48095d991d85687569ac025b18a6c7ae1632c9f7.zip |
audit: Use struct net not pid_t to remember the network namespce to reply in
In struct audit_netlink_list and audit_reply add a reference to the
network namespace of the caller and remove the userspace pid of the
caller. This cleanly remembers the callers network namespace, and
removes a huge class of races and nasty failure modes that can occur
when attempting to relook up the callers network namespace from a
pid_t (including the caller's network namespace changing, pid
wraparound, and the pid simply not being present).
Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions