Re: [PATCH 10/10] sysfs: user namespaces: add ns to user_struct

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Eric W. Biederman
Date: Tuesday, April 29, 2008 - 12:51 pm

Benjamin Thery <benjamin.thery@bull.net> writes:


There is a lot of promising code in this patch.  This patch appears to
be building up a lot of userns infrastructure that is only indirectly
related to sysfs, and it still appears to have some debugging code
present.  

As a proof of concept patch (which I asked for) this looks good.

I do think this patch should get split into logical changes
and cleaned up a bit before it gets merged into mainline.

More comments inline below.

Eric

Debugging?

If we are going to go this direction my inclination
is to include an array of a single element in user_struct.

Maybe that makes sense.  I just know we need to talk about
how a user maps into different user namespaces.  As that
is a real concept that really occurs in real filesystems
like nfsv4 and p9fs, and having infrastructure that can
deal with the concept (even if it doesn't support it yet) would be
useful.


Weird a _t suffix in a structure name.  Usually _t indicates
that something is a typedef.

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 10/10] sysfs: user namespaces: add ns to user_struct, Benjamin Thery, (Tue Apr 29, 10:11 am)
Re: [PATCH 10/10] sysfs: user namespaces: add ns to user_s ..., Eric W. Biederman, (Tue Apr 29, 12:51 pm)