[lkml]   [2006]   [Jul]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH -mm 5/7] add user namespace
"Serge E. Hallyn" <> writes:

> Quoting Eric W. Biederman (
>> >> keys are essentially security credentials for something besides the
>> >> local kernel. Think kerberos tickets. That makes the keys the
>> >> obvious place to say what uid you are in a different user namespace
>> >> and similar things.
>> >
>> > what about performance ? wouldn't that slow the checking ?
>> It needs to be looked at, but it shouldn't slow the same namespace
>> case,
> How so? The processesing is the same.

If you do mapping of uids that would not trigger if you have
matching user namespaces.

>> and permission checking is largely a slow path issue. So a little
>> overhead at open time is preferred to overhead after you get the file
>> open.
> Unsure which approach has overhead after file open...

I don't know that I have seen that one yet. Sorry this was generally
a statement of principle.


To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2006-07-14 05:55    [from the cache]
©2003-2011 Jasper Spaans