All of lore.kernel.org
 help / color / mirror / Atom feed
From: Alexey Dobriyan <adobriyan@gmail.com>
To: ebiederm@xmission.com
Cc: alban.crequy@gmail.com, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] [RFC][WIP] namespace.c: Allow some unprivileged proc mounts when not fully visible
Date: Wed, 4 Apr 2018 20:49:09 +0300	[thread overview]
Message-ID: <20180404174909.GB2540@avx2> (raw)

> 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.

While "mount -t pid" and "mount -t sysctl" are decades overdue, I don't
think they cover everything.

IIRC some gcc versions read /proc/meminfo on every invocation. Now
imagine such program doesn't have a fallback if /proc/ doesn't exist
(how many thousands such programs are there?) So user is going to ask
for /proc with just /proc/meminfo only. At this point it is back to
nearly full /proc.

             reply	other threads:[~2018-04-04 17:49 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-04-04 17:49 Alexey Dobriyan [this message]
2018-04-04 23:59 ` [PATCH] [RFC][WIP] namespace.c: Allow some unprivileged proc mounts when not fully visible Eric W. Biederman
  -- strict thread matches above, loose matches on Subject: below --
2018-04-04 17:45 Alexey Dobriyan
2018-04-04 11:53 Alban Crequy
2018-04-04 11:53 ` Alban Crequy
     [not found] ` <20180404115311.725-1-alban-lYLaGTFnO9sWenYVfaLwtA@public.gmane.org>
2018-04-04 14:45   ` Eric W. Biederman
2018-04-04 14:45 ` Eric W. Biederman
2018-04-04 15:34   ` Aleksa Sarai
2018-04-04 18:42   ` Serge E. Hallyn
     [not found]     ` <20180404184250.GA9997-7LNsyQBKDXoIagZqoN9o3w@public.gmane.org>
2018-04-04 22:02       ` Eric W. Biederman
2018-04-04 22:02     ` Eric W. Biederman
2018-04-05 14:19   ` Christian Brauner
2018-04-13 22:41   ` Djalal Harouni
2018-04-16 14:16     ` Alexey Gladkov
     [not found]     ` <CAEiveUf5LWpvA-QMm3eYr9yFgUjwyQdkk-WVptze9m_EfbGMwg-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2018-04-16 14:16       ` Alexey Gladkov
     [not found]   ` <87tvsrjai0.fsf-aS9lmoZGLiVWk0Htik3J/w@public.gmane.org>
2018-04-04 15:34     ` Aleksa Sarai
2018-04-04 18:42     ` Serge E. Hallyn
2018-04-05 14:19     ` Christian Brauner
2018-04-13 22:41     ` Djalal Harouni

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=20180404174909.GB2540@avx2 \
    --to=adobriyan@gmail.com \
    --cc=alban.crequy@gmail.com \
    --cc=ebiederm@xmission.com \
    --cc=linux-kernel@vger.kernel.org \
    /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.