Thread (6 messages) 6 messages, 2 authors, 2024-05-14

Re: [PATCH] proc.5: document 'subset' mount option.

From: Alejandro Colomar <alx@kernel.org>
Date: 2024-05-14 18:08:27

Hi Matteo,

On Tue, May 14, 2024 at 07:54:49PM GMT, technoboy85@gmail.com wrote:
quoted hunk ↗ jump to hunk
From: Matteo Croce <redacted>

The 'subset=pid' option was added in commit 6814ef2d, document it.

Signed-off-by: Matteo Croce <redacted>
---
 man/man5/proc.5 | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/man/man5/proc.5 b/man/man5/proc.5
index 8022ca49e..b1e358cb4 100644
--- a/man/man5/proc.5
+++ b/man/man5/proc.5
@@ -105,7 +105,12 @@ This group should be used instead of approaches such as putting
 nonroot users into the
 .BR sudoers (5)
 file.
-.\"
+.RE
+.TP
+.BR subset "=\fIpid\fP (since Linux 5.8)"
What is the accepted format?  A CSV of pid numbers?  

Have a lovely day!
Alex
+.\" commit 6814ef2d992af09451bbeda4770daa204461329e
+Show only the specified subset of procfs hiding all top level files
+and directories in the procfs that are not related to tasks.
 .SS Overview
 Underneath
 .IR /proc ,
-- 
2.43.0
-- 
<https://www.alejandro-colomar.es/>
A client is hiring kernel driver, mm, and/or crypto developers;
contact me if interested.

Attachments

Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help