LWN.net Logo

Shared subtrees

Shared subtrees

Posted Nov 10, 2005 17:25 UTC (Thu) by rfunk (subscriber, #4054)
Parent article: Shared subtrees

mount --bind /subtree /subtree
mount --make-unbindable /subtree

Looks like a race-condition vulnerability to me.


(Log in to post comments)

Shared subtrees

Posted Nov 10, 2005 19:22 UTC (Thu) by iabervon (subscriber, #722) [Link]

Well, that case should be safe, since it happens before any users could be on the system (since the root directory of their namespaces hasn't been mounted yet, aside from anything else). Other uses might not be so safe, though.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds