Re: [RFC][PATCH] ns: Syscalls for better namespace sharing control.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Pavel Emelyanov
Date: Saturday, February 27, 2010 - 12:29 pm

Eric W. Biederman wrote:

Agree. But what if we enter a pid space, which is a subnamespace of a current
one? In that case parent will still see the task by its old pid. We can restrict
first version of entering with this rule as well and this restriction will not
block us in typical usecase (I mean enter a container from a host).


OK, but what if we try to allocate the same pid returning -EBUSY on failure?

My aim is to provide even a restricted enter. For most of the cases this
should work and make our lives easier. So two restrictions currently:
a) enter a sub namespace
b) allocate the same pid as we have now

Hm? :)


Good!


OK. I'll spend some time playing with it next week then.


Thanks,
Pavel
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[RFC][PATCH] ns: Syscalls for better namespace sharing con ..., Eric W. Biederman, (Thu Feb 25, 1:57 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 2:49 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 2:54 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 3:31 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 5:53 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Thu Feb 25, 6:26 pm)
[RFC][PATCH] ns: Syscalls for better namespace sharing con ..., Eric W. Biederman, (Thu Feb 25, 8:15 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 1:35 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:24 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:42 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 2:49 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 3:16 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Fri Feb 26, 4:13 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 2:04 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 2:42 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 12:08 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Pavel Emelyanov, (Sat Feb 27, 12:29 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Sat Feb 27, 12:44 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 1, 12:24 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Sukadev Bhattiprolu, (Tue Mar 2, 2:19 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Sukadev Bhattiprolu, (Tue Mar 2, 5:07 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Wed Mar 3, 12:47 pm)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 8, 10:29 am)
Re: [RFC][PATCH] ns: Syscalls for better namespace sharing ..., Eric W. Biederman, (Mon Mar 8, 10:35 am)