Messages in this thread |  | | | Date | Tue, 08 Apr 2008 12:09:32 +0400 | | From | Pavel Emelyanov <> | | 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
|  |