[PATCH] namespaces: add nsproxy
authorSerge E. Hallyn <serue@us.ibm.com>
Mon, 2 Oct 2006 09:18:06 +0000 (02:18 -0700)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 2 Oct 2006 14:57:20 +0000 (07:57 -0700)
commitab516013ad9ca47f1d3a936fa81303bfbf734d52
tree643ea9c4c3d28958cb42dd87b1856f74edd22b11
parentb1ba4ddde0cf67991d89f039365eaaeda61aa027
[PATCH] namespaces: add nsproxy

This patch adds a nsproxy structure to the task struct.  Later patches will
move the fs namespace pointer into this structure, and introduce a new utsname
namespace into the nsproxy.

The vserver and openvz functionality, then, would be implemented in large part
by virtualizing/isolating more and more resources into namespaces, each
contained in the nsproxy.

[akpm@osdl.org: build fix]
Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Cc: Kirill Korotaev <dev@openvz.org>
Cc: "Eric W. Biederman" <ebiederm@xmission.com>
Cc: Herbert Poetzl <herbert@13thfloor.at>
Cc: Andrey Savochkin <saw@sw.ru>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
27 files changed:
arch/alpha/kernel/init_task.c
arch/arm/kernel/init_task.c
arch/arm26/kernel/init_task.c
arch/frv/kernel/init_task.c
arch/h8300/kernel/init_task.c
arch/i386/kernel/init_task.c
arch/ia64/kernel/init_task.c
arch/m32r/kernel/init_task.c
arch/m68knommu/kernel/init_task.c
arch/mips/kernel/init_task.c
arch/parisc/kernel/init_task.c
arch/powerpc/kernel/init_task.c
arch/s390/kernel/init_task.c
arch/sh/kernel/init_task.c
arch/sh64/kernel/init_task.c
arch/sparc/kernel/init_task.c
arch/sparc64/kernel/init_task.c
arch/um/kernel/init_task.c
arch/v850/kernel/init_task.c
arch/x86_64/kernel/init_task.c
include/linux/init_task.h
include/linux/nsproxy.h [new file with mode: 0644]
include/linux/sched.h
kernel/Makefile
kernel/exit.c
kernel/fork.c
kernel/nsproxy.c [new file with mode: 0644]