[PATCH RFC 3/31] net: Add a network namespace parameter to tasks
From: Eric W. Biederman <hidden>
Date: 2007-01-25 19:01:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Eric W. Biederman <hidden>
Date: 2007-01-25 19:01:00
Subsystem:
the rest · Maintainer:
Linus Torvalds
From: Eric W. Biederman <redacted> - unquoted 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 <redacted> --- include/linux/nsproxy.h | 2 ++ 1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/include/linux/nsproxy.h b/include/linux/nsproxy.h
index 0b9f0dc..cc76610 100644
--- a/include/linux/nsproxy.h
+++ b/include/linux/nsproxy.h@@ -3,6 +3,7 @@ #include <linux/spinlock.h> #include <linux/sched.h> +#include <linux/net_namespace_type.h> struct mnt_namespace; struct uts_namespace;
@@ -28,6 +29,7 @@ struct nsproxy { struct ipc_namespace *ipc_ns; struct mnt_namespace *mnt_ns; struct pid_namespace *pid_ns; + net_t net_ns; }; extern struct nsproxy init_nsproxy;
--
1.4.4.1.g278f