Re: how to show propagation state for mounts

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Ram Pai <linuxram@...>
Cc: Miklos Szeredi <miklos@...>, <linux-fsdevel@...>
Date: Wednesday, February 20, 2008 - 5:14 pm

On Wed, Feb 20, 2008 at 11:29:13AM -0800, Ram Pai wrote:


A plenty.  E.g. if foo trusts control over /var/blah to bar, it's not
obvious that foo has any business knowing if bar gets it from somebody
else in turn.  And I'm not sure that bar has any business knowing that
foo has the damn thing attached in five places instead of just one,
let alone _where_ it has been attached.

If you get down to it, the thing is about delegating control over part
of namespace to somebody, without letting them control, see, etc. the
rest of it.  So I'd rather be very conservative about extra information
we allow to piggyback on that.  I don't know... perhaps with stable peer
group IDs it would be OK to show peer group ID by (our) vfsmount + peer
group ID of master + peer group ID of nearest dominating group that has
intersection with our namespace.  Then we don't leak information (AFAICS),
get full propagation information between our vfsmounts and cooperating
tasks in different namespaces can figure the things out as much as possible
without leaking 3rd-party information to either.
-
To unsubscribe from this list: send the line "unsubscribe linux-fsdevel" 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:
how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 11:39 am)
Re: how to show propagation state for mounts, Al Viro, (Wed Feb 20, 12:04 pm)
Re: how to show propagation state for mounts, Matthew Wilcox, (Wed Feb 20, 12:31 pm)
Re: how to show propagation state for mounts, Ram Pai, (Wed Feb 20, 3:42 pm)
Re: how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 12:27 pm)
Re: how to show propagation state for mounts, Ram Pai, (Wed Feb 20, 3:29 pm)
Re: how to show propagation state for mounts, Al Viro, (Wed Feb 20, 5:14 pm)
Re: how to show propagation state for mounts, Miklos Szeredi, (Wed Feb 20, 5:35 pm)
[rfc patch] how to show propagation state for mounts, Miklos Szeredi, (Fri Feb 22, 10:46 am)
Re: [RFC PATCH v2] vfs: optimization to /proc/&lt;pid&gt;/mo..., Christoph Hellwig, (Mon Mar 10, 3:10 am)
Re: [rfc patch] how to show propagation state for mounts, Serge E. Hallyn, (Wed Mar 5, 3:25 pm)
Re: [rfc patch] how to show propagation state for mounts, Miklos Szeredi, (Wed Mar 5, 3:34 pm)