From: Al Viro <viro@ZenIV.linux.org.uk>
To: Ram Pai <linuxram@us.ibm.com>
Cc: Miklos Szeredi <miklos@szeredi.hu>, linux-fsdevel@vger.kernel.org
Subject: Re: how to show propagation state for mounts
Date: Wed, 20 Feb 2008 21:14:21 +0000 [thread overview]
Message-ID: <20080220211421.GZ27894@ZenIV.linux.org.uk> (raw)
In-Reply-To: <1203535754.28525.14.camel@ram.us.ibm.com>
On Wed, Feb 20, 2008 at 11:29:13AM -0800, Ram Pai wrote:
> I wonder, what is wrong in reporting mounts in other namespaces that
> either receive and send propagation to mounts in our namespace?
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.
next prev parent reply other threads:[~2008-02-20 21:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-20 15:39 how to show propagation state for mounts Miklos Szeredi
2008-02-20 16:04 ` Al Viro
2008-02-20 16:27 ` Miklos Szeredi
2008-02-20 19:29 ` Ram Pai
2008-02-20 21:14 ` Al Viro [this message]
2008-02-20 21:35 ` Miklos Szeredi
2008-02-22 14:46 ` [rfc patch] " Miklos Szeredi
2008-03-05 19:25 ` Serge E. Hallyn
2008-03-05 19:34 ` Miklos Szeredi
2008-03-05 20:23 ` Ram Pai
2008-03-10 6:53 ` [RFC PATCH v2] vfs: optimization to /proc/<pid>/mountinfo patch Ram Pai
2008-03-10 7:10 ` Christoph Hellwig
2008-03-10 11:39 ` Miklos Szeredi
2008-02-20 16:31 ` how to show propagation state for mounts Matthew Wilcox
2008-02-20 19:42 ` Ram Pai
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20080220211421.GZ27894@ZenIV.linux.org.uk \
--to=viro@zeniv.linux.org.uk \
--cc=linux-fsdevel@vger.kernel.org \
--cc=linuxram@us.ibm.com \
--cc=miklos@szeredi.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.