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

If vm 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>
kernel/fork.c