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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH] unshare: Cleanup up the sys_unshare interface before we are committed.
- From: [email protected] (Eric W. Biederman)
- [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: [email protected] (Eric W. Biederman)
- Re: [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: Andrew Morton <[email protected]>
- Re: [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: Janak Desai <[email protected]>
- Re: [PATCH] unshare: Use rcu_assign_pointer when setting sighand
- From: Oleg Nesterov <[email protected]>
- [PATCH] for 2.6.16, disable unshare_vm()
- From: Oleg Nesterov <[email protected]>
- Re: [PATCH] for 2.6.16, disable unshare_vm()
- From: Linus Torvalds <[email protected]>
- [PATCH] unshare: Cleanup up the sys_unshare interface before we are committed.
- Prev by Date: [-mm patch] nfs4proc.c: make _nfs4_proc_setclientid_confirm() static
- Next by Date: Re: [patch 1/2] Validate itimer timeval from userspace
- Previous by thread: Re: [PATCH] for 2.6.16, disable unshare_vm()
- Next by thread: [PATCH] implement unshare(CLONE_SIGHAND) for single-thread case
- Index(es):