[PATCH 2/2] docs: proc: update documentation about subset= parameter

From: Alexey Gladkov
Date: Thu Jun 04 2020 - 16:04:49 EST

Signed-off-by: Alexey Gladkov <gladkov.alexey@xxxxxxxxx>
Documentation/filesystems/proc.rst | 6 ++++++
1 file changed, 6 insertions(+)

diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index e2ecf248feb5..68acd335cd8c 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -2177,6 +2177,12 @@ information about processes information, just add identd to this group.
subset=pid hides all top level files and directories in the procfs that
are not related to tasks.

+subset=NAME[:NAME...] allows to give access to the listed file names or
+directories located at the top level of procfs. These files and directories
+do not have to be present at the time of mounting procfs. They may appear later
+when the kernel module that creates them loads. The list of names can be
+combined with subst=pid.
5 Filesystem behavior