Re: [PATCH 10/16] hurd: add fsys_get_children
At Tue, 30 Jul 2013 22:44:22 +0200,
Richard Braun wrote:
> On Tue, Jul 30, 2013 at 12:20:32PM +0200, Neal H. Walfield wrote:
> > > fsys_get_children returns any active translators bound to nodes of the
> > > receiving filesystem as an argz vector containing file names relative
> > > to the root of the receiving translator.
> > What if the caller is chrooted? The filenames should be relative to
> > the caller's root.
> Is that really necessary ? Support for chroot has always been incomplete
> and present for compatibility only. In addition, Linux still shows the
> paths at mount time in /proc/mounts from a chroot.
I'm not concerned about the mtab implementation. I'm concerned about
the RPC's interface.
I'm not sure why you think chroot is only for compatibility and why we
therefore shouldn't correctly support it.