[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <47FB283C.6050509@openvz.org>
Date: Tue, 08 Apr 2008 12:09:32 +0400
From: Pavel Emelyanov <xemul@...nvz.org>
To: Manfred Spraul <manfred@...orfullife.com>
CC: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
"Serge E. Hallyn" <serue@...ibm.com>,
"Eric W. Biederman" <ebiederm@...ssion.com>,
Andrew Morton <akpm@...ux-foundation.org>,
Sukadev Bhattiprolu <sukadev@...ibm.com>
Subject: Re: [PATCH] fix SEM_UNDO with namespaces, take 2
> + if ((current->nsproxy == NULL && new_nsproxy != NULL) ||
> + (current->nsproxy != NULL && new_nsproxy == NULL) ||
> + (current->nsproxy != NULL && new_nsproxy != NULL && current->nsproxy->ipc_ns != new_nsproxy->ipc_ns)) {
Is the if (unshare_flags & CLONE_NEWIPC) check not enough?
Thanks,
Pavel
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists