lkml.org 
[lkml]   [2008]   [Apr]   [8]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateTue, 08 Apr 2008 12:09:32 +0400
FromPavel Emelyanov <>
SubjectRe: [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


\
 
 \ /
  Last update: 2008-04-08 10:23    [from the cache]
©2003-2008