[PATCH] unshare system call -v5: unshare namespace
authorJANAK DESAI <janak@us.ibm.com>
Tue, 7 Feb 2006 20:59:00 +0000 (12:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:34 +0000 (16:12 -0800)
commit741a295130606143edbf9fc740f633dbc1e6225f
tree3679047dd44e94ba94ee1487880a94def93a06f9
parent99d1419d96d7df9cfa56bc977810be831bd5ef64
[PATCH] unshare system call -v5: unshare namespace

If the namespace structure is being shared, allocate a new one and copy
information from the current, shared, structure.

Signed-off-by: Janak Desai <janak@us.ibm.com>
Cc: Al Viro <viro@ftp.linux.org.uk>
Cc: Christoph Hellwig <hch@lst.de>
Cc: Michael Kerrisk <mtk-manpages@gmx.net>
Cc: Andi Kleen <ak@muc.de>
Cc: Paul Mackerras <paulus@samba.org>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
fs/namespace.c
include/linux/namespace.h
kernel/fork.c