[Devel] [PATCH 1/6] user namespaces: introduce user_struct->user_namespace relationship

Serge E. Hallyn serue at us.ibm.com
Fri Jul 25 20:31:04 PDT 2008


Quoting Alexey Dobriyan (adobriyan at gmail.com):
> On Fri, Jul 25, 2008 at 07:27:25PM -0500, Serge E. Hallyn wrote:
> > --- a/include/linux/sched.h
> > +++ b/include/linux/sched.h
> > @@ -600,6 +600,7 @@ struct user_struct {
> >  	/* Hash table maintenance information */
> >  	struct hlist_node uidhash_node;
> >  	uid_t uid;
> > +	struct user_namespace *user_namespace;
> 
> Call it "user_ns" please,

Odd, I had the same thought, but seem to have applied at the wrong
patch (please see patch 2).

Thanks.

>  and file "user_ns.c".

I'm ok with that, but that file has existed for quite some time
by now, so I'm not introducing it.

If noone objects, I'll rename the file (as well as
include/linux/user_namespace.h).

thanks,
-serge


More information about the Containers mailing list