Re: [PATCH] for 2.6.16, disable unshare_vm()

From: Janak Desai
Date: Sat Mar 18 2006 - 13:46:10 EST


Linus Torvalds wrote:

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



We are using namespace and filesystem unsharing for our common criteria
certification work and would not be impacted by disabling of vm unsharing.

-Janak
-
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/