[PATCH] [RFC][WIP] namespace.c: Allow some unprivileged proc mounts when not fully visible

Djalal Harouni tixxdz at gmail.com
Fri Apr 13 22:41:31 UTC 2018


On Wed, Apr 4, 2018 at 4:45 PM, Eric W. Biederman <ebiederm at xmission.com> wrote:
[...]
>
> The only option I have seen proposed that might qualify as something
> general purpose and simple is a new filesystem that is just the process
> directories of proc.  As there would in essence be no files that would
> need restrictions it would be safe to allow anyone to mount without
> restriction.
>
Eric, there is a series for this:
https://www.mail-archive.com/linux-kernel@vger.kernel.org/msg1533642.html

patch on top for pids:
https://github.com/legionus/linux/commit/993a2a5b9af95b0ac901ff41d32124b72ed676e3

it was reviewed, and suggestions were integrated from Andy and Al Viro
feedback, thanks. It works on Debian, Ubuntu and others, not on Fedora
due to bug with dracut+systemd.

I do not have time to work on it now, anyone can just pick them.

Thanks!


-- 
tixxdz


More information about the Containers mailing list