]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] unshare system call -v5: unshare files
authorJANAK DESAI <janak@us.ibm.com>
Tue, 7 Feb 2006 20:59:02 +0000 (12:59 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Wed, 8 Feb 2006 00:12:34 +0000 (16:12 -0800)
commita016f3389c06606dd80e687942ff3c71d41823c4
treec6fdc00cc6762d98fea1fad64d851119d5e7aa45
parenta0a7ec308f1be5957b20a1a535d21f683dfd83f0
[PATCH] unshare system call -v5: unshare files

If the file descriptor 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