aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/nsproxy.h
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2007-09-12 11:55:17 +0200
committerDavid S. Miller <davem@sunset.davemloft.net>2007-10-10 16:49:04 -0700
commit772698f6362680b65211f7efc68121f1e4c28aa5 (patch)
treebf7adc5563ee2de618a2b1d3c6ee1800595dd65c /include/linux/nsproxy.h
parent[NET]: Basic network namespace infrastructure. (diff)
downloadlinux-dev-772698f6362680b65211f7efc68121f1e4c28aa5.tar.xz
linux-dev-772698f6362680b65211f7efc68121f1e4c28aa5.zip
[NET]: Add a network namespace parameter to tasks
This is the network namespace from which all which all sockets and anything else under user control ultimately get their network namespace parameters. Signed-off-by: Eric W. Biederman <ebiederm@xmission.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--include/linux/nsproxy.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h
index ce06188b7a56..bec4485e3d76 100644
--- a/include/linux/nsproxy.h
+++ b/include/linux/nsproxy.h
@@ -29,6 +29,7 @@ struct nsproxy {
struct mnt_namespace *mnt_ns;
struct pid_namespace *pid_ns;
struct user_namespace *user_ns;
+ struct net *net_ns;
};
extern struct nsproxy init_nsproxy;