Re: [PATCH RFC] allow some kernel filesystems to be mounted in auser namespace

From: Serge E. Hallyn
Date: Tue Jul 16 2013 - 15:50:13 EST


Quoting Al Viro (viro@xxxxxxxxxxxxxxxxxx):
> On Tue, Jul 16, 2013 at 02:29:20PM -0500, Serge Hallyn wrote:
> > All the files will be owned by host root, so there's no security
> > concern in allowing this.
>
> Files owned by root != very bad things can't be done by non-root.
> Especially for debugfs, which is very much a "don't even think about
> mounting that on a production box" thing...

I would prefer it not be mounted. But near as I can tell there
should be no regression security-wise whether an unprivileged
user on the host has access to it, or whether a user in a
non-init user ns is allowed to mount it. (Obviously I could very
well be wrong)

-serge
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/