lkml.org 
[lkml]   [2007]   [Nov]   [3]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] PID namespace design bug, workaround
FromNicholas Miell <>
DateFri, 02 Nov 2007 21:02:59 -0700
On Fri, 2007-11-02 at 10:39 -0700, Linus Torvalds wrote:
> 
> On Fri, 2 Nov 2007, Dave Hansen wrote:
> > 
> > There are certainly more of these, but here is one In the futex
> > userspace address, we install the current pid's vnr into a userspace
> > address.  
> 
> Now, realistically, why not just say "you can't use these things across 
> namespaces"? Does anybody really care? After all, somebody who screws this 
> up only screws himself, not anybody else.
> 
> 		Linus

Accessing the same robust futex from different PID namespaces on the
same machine via a shared file mapping is logically equivalent to
accessing the same robust futex from different machines via a shared
filesystem and there's no reason to expect either operation to work
correctly.

-- 
Nicholas Miell <nmiell@comcast.net>

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2007-11-03 05:05    [from the cache]
©2003-2008