@@ -2213,6 +2213,16 @@ 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=allowlist allows you to specify a list of files and directories to
+which you want to provide access. If the option is specified, then the
+/proc/allowlist will appear at the top level of the filesystem. By default, this
+file contains only its name. The user can add or remove other filenames and
+directories. To prohibit editing the allowlist, you need to exclude its name
+from the list of allowed ones.
+
+Different subset= option arguments can be combined using the plus(+) delimiter.
+For example: subset=pid+allowlist
+
Chapter 5: Filesystem behavior
==============================
Signed-off-by: Alexey Gladkov <legion@kernel.org> --- Documentation/filesystems/proc.rst | 10 ++++++++++ 1 file changed, 10 insertions(+)