public inbox for linux-man@vger.kernel.org
 help / color / mirror / Atom feed
From: bugzilla-daemon@kernel.org
To: linux-man@vger.kernel.org
Subject: [Bug 216584] New: Undocumented mount option subset=pids for proc
Date: Fri, 14 Oct 2022 05:55:07 +0000	[thread overview]
Message-ID: <bug-216584-11311@https.bugzilla.kernel.org/> (raw)

https://bugzilla.kernel.org/show_bug.cgi?id=216584

            Bug ID: 216584
           Summary: Undocumented mount option subset=pids for proc
           Product: Documentation
           Version: unspecified
          Hardware: All
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P1
         Component: man-pages
          Assignee: documentation_man-pages@kernel-bugs.osdl.org
          Reporter: linux@philippwendler.de
        Regression: No

Since Linux 5.8, proc can be mounted with options subset=pids to hide all
non-task-related information. This is missing from proc(5).

Original patch:
https://lore.kernel.org/all/20200423200316.164518-6-gladkov.alexey@gmail.com/

The kernel documentation shows the option:
https://www.kernel.org/doc/html/latest/filesystems/proc.html#mount-options

This option is useful when mounting proc for a container nested for example in
a Docker container that hides certain parts of /proc, otherwise one is not
allowed to mount /proc
(https://lkml.kernel.org/lkml/cover.1597931457.git.gladkov.alexey@gmail.com/).
It might be useful to add a note about this as well.

-- 
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.

             reply	other threads:[~2022-10-14  5:55 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-10-14  5:55 bugzilla-daemon [this message]
2022-10-14  5:59 ` [Bug 216584] Undocumented mount option subset=pid for proc bugzilla-daemon
2022-10-14  6:15 ` bugzilla-daemon

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=bug-216584-11311@https.bugzilla.kernel.org/ \
    --to=bugzilla-daemon@kernel.org \
    --cc=linux-man@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox