Re: [RFC 1/5] user namespaces: Add a user_namespace as creator/owner of uts_namespace

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Serge Hallyn
Date: Friday, December 17, 2010 - 12:46 pm

Quoting Greg KH (greg@kroah.com):

You're complaining about the pre-existing init_uts_ns right?


Can't delete this one, but can delete all the uts namespaces, obviously.
As with init_tgcred in kernel/cred.c.

It's initialized with a refcount which will keep it from ever getting
freed.


If we create it dynamically, then I don't think we can use it the way we
do in kernel/utsname_sysctl.c for instance.

thanks,
-serge
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC 0/5] user namespaces: start clamping down, Serge E. Hallyn, (Fri Dec 17, 8:22 am)
[RFC 3/5] user namespaces: allow sethostname in a container, Serge E. Hallyn, (Fri Dec 17, 8:26 am)
Re: [RFC 1/5] user namespaces: Add a user_namespace as cre ..., Eric W. Biederman, (Fri Dec 17, 12:26 pm)
Re: [RFC 4/5] user namespaces: allow killing tasks in your ..., Eric W. Biederman, (Fri Dec 17, 12:31 pm)
Re: [RFC 5/5] user namespaces: Allow ptrace from non-init ..., Eric W. Biederman, (Fri Dec 17, 12:45 pm)
Re: [RFC 1/5] user namespaces: Add a user_namespace as cre ..., Serge Hallyn, (Fri Dec 17, 12:46 pm)
Re: [RFC 4/5] user namespaces: allow killing tasks in your ..., Eric W. Biederman, (Fri Dec 17, 1:17 pm)
Re: [RFC 1/5] user namespaces: Add a user_namespace as cre ..., Eric W. Biederman, (Fri Dec 17, 1:40 pm)
Re: [RFC 1/5] user namespaces: Add a user_namespace as cre ..., Eric W. Biederman, (Fri Dec 17, 11:32 pm)