Skip to contentSkip to conversation

New: Undocumented mount option subset=pids for proc

Bug 216584 [email protected] 1 participant 3 messages Oct 14, 2022 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore 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: [email protected]
Reporter: [email protected]
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/[email protected]/

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/[email protected]/).
It might be useful to add a note about this as well.

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#1 lore raw

[Bug 216584] Undocumented mount option subset=pid for proc

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

Philipp Wendler ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------

            Summary|Undocumented mount option   |Undocumented mount option
                   |subset=pids for proc        |subset=pid for proc
Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.
#2 lore raw

[Bug 216584] Undocumented mount option subset=pid for proc

In reply to [email protected]

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

--- Comment #1 from Philipp Wendler ([email protected]) --- Actually, skip my last paragraph, it seems this patch did not get merged yet. Last iteration I found is at
https://lore.kernel.org/all/[email protected]/. But the mount option does exist.

Signature · 4 lines
You may reply to this email to add a comment.

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