Re: [PATCH] for 2.6.16, disable unshare_vm()
From: Linus Torvalds
Date: Sat Mar 18 2006 - 13:09:36 EST
On Sat, 18 Mar 2006, Oleg Nesterov wrote:
>
> 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.
Yes. Quick raising of hands: is there anybody out there that expects to
use unshare(CLONE_VM) right now? One of the reasons it was integrated was
that I thought glibc wanted it for distros. Is disabling the CLONE_VM
unsharing going to impact that?
Linus
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/