]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] disable unshare(CLONE_VM) for now
authorOleg Nesterov <oleg@tv-sign.ru>
Sat, 18 Mar 2006 17:41:10 +0000 (20:41 +0300)
committerLinus Torvalds <torvalds@g5.osdl.org>
Sat, 18 Mar 2006 18:49:36 +0000 (10:49 -0800)
commit2d61b86775a5676a8fba2ba2f0f869564e35c630
treeafdb967ec1bb3ddd212acdd8f25675c371f7e6e7
parent265a92856b17524c87da0258ac0d3cec80ae1d35
[PATCH] disable unshare(CLONE_VM) for now

sys_unshare() does mmput(new_mm).  This is not enough if we have
mm->core_waiters.

This patch is a temporary fix for soon to be released 2.6.16.

Signed-off-by: Oleg Nesterov <oleg@tv-sign.ru>
[ Checked with Uli: "I'm not planning to use unshare(CLONE_VM).  It's
  not needed for any functionality planned so far.  What we (as in Red
  Hat) need unshare() for now is the filesystem side." ]
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
kernel/fork.c