[PATCH 1/2] docs: proc: document Seccomp_filters in /proc/PID/status
From: Gabriel Changamire
Date: Wed Dec 02 2026 - 03:14:18 EST
Commit c818c03b661c ("seccomp: Report number of loaded filters in
/proc/$pid/status") added a Seccomp_filters line to /proc/PID/status
in v5.9, but the field was never added to the documentation.
Add it to the example output and to Table 1-2, next to the existing
Seccomp entry.
Signed-off-by: Gabriel Changamire <gaberashawn@xxxxxxxxx>
---
Documentation/filesystems/proc.rst | 2 ++
1 file changed, 2 insertions(+)
diff --git a/Documentation/filesystems/proc.rst b/Documentation/filesystems/proc.rst
index fa7a468e8edf..36a59f38e1c8 100644
--- a/Documentation/filesystems/proc.rst
+++ b/Documentation/filesystems/proc.rst
@@ -202,6 +202,7 @@ read the file /proc/PID/status::
CapAmb: 0000000000000000
NoNewPrivs: 0
Seccomp: 0
+ Seccomp_filters: 0
Speculation_Store_Bypass: thread vulnerable
SpeculationIndirectBranch: conditional enabled
voluntary_ctxt_switches: 0
@@ -288,6 +289,7 @@ It's slow but very precise.
CapAmb bitmap of ambient capabilities
NoNewPrivs no_new_privs, like prctl(PR_GET_NO_NEW_PRIV, ...)
Seccomp seccomp mode, like prctl(PR_GET_SECCOMP, ...)
+ Seccomp_filters number of seccomp filters attached to the task
Speculation_Store_Bypass speculative store bypass mitigation status
SpeculationIndirectBranch indirect branch speculation mode
Cpus_allowed mask of CPUs on which this process may run
--
2.47.3