OpenVZ Forum


Home » Mailing lists » Devel » [patch -mm 0/4] mqueue namespace
Re: [patch -mm 0/4] mqueue namespace [message #31202 is a reply to message #31196] Fri, 20 June 2008 19:11 Go to previous message
ebiederm is currently offline  ebiederm
Messages: 1354
Registered: February 2006
Senior Member
"Serge E. Hallyn" <serue@us.ibm.com> writes:

>
> It is unfortunate that two actions are needed to properly complete the
> unshare, and we had definately talked about just using the mount before.
> I forget why we decided it wasn't practical, so maybe what you describe
> solves it...

What is worse, and I don't see a way around it: Is that we don't have
any callbacks to check where things are mounted.  So we can't ensure the
proper kind of filesystem is mounted in the right place.

That is there is too much freedom in the mount apis to allow for reliable
operation.

> But at least the current patch reuses CLONE_NEWIPC for posix ipc, which
> also seems to make sense.

Sort of.  I'm really annoyed with whoever did the posix mqueue support.
Adding the magic syscall that has to know the internal mount instead of
requiring the thing be mounted somewhere and just rejecting filedescriptors
for the wrong sorts of files.

Eric
_______________________________________________
Containers mailing list
Containers@lists.linux-foundation.org
https://lists.linux-foundation.org/mailman/listinfo/containers
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Question : memrlimit cgroup's task_move (2.6.26-rc5-mm3)
Next Topic: [PATCH 1/8] CGroup Files: Clean up whitespace in struct cftype
Goto Forum:
  


Current Time: Sat Oct 25 17:59:02 GMT 2025

Total time taken to generate the page: 0.21491 seconds