Skip to contentSkip to conversation

proc.5: add Seccomp_filters entry

PATCH In review Sascha Grunert 2 participants 2 messages Aug 14, 2023 Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 proc.5: add Seccomp_filters entry

From: Sascha Grunert <[email protected]>

The field exists since Linux 5.9 (818c03) but have not been documented yet.

---
 man5/proc.5 | 7 +++++++
 1 file changed, 7 insertions(+)
man5/proc.5 +7 -0
index 04b45ccb7..c80b93e24 100644
@@ -2551,6 +2551,7 @@ CapBnd: ffffffffffffffff
 CapAmb:	0000000000000000
 NoNewPrivs:     0
 Seccomp:        0
+Seccomp_filters:        0
 Speculation_Store_Bypass:       vulnerable
 Cpus_allowed:   00000001
 Cpus_allowed_list:      0
@@ -2809,6 +2810,12 @@ This field is provided only if the kernel was built with the
 .B CONFIG_SECCOMP
 kernel configuration option enabled.
 .TP
+.I Seccomp_filters
+.\" commit c818c03b661cd769e035e41673d5543ba2ebda64
+Number of seccomp filters attached to the process
+(since Linux 5.9, see
+.BR seccomp (2)).
+.TP
 .I Speculation_Store_Bypass
 .\" commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64
 Speculation flaw mitigation state
Signature · 1 line
2.41.0
#1 lore raw

Hi Sascha,

Quoted 6 lines · Sascha Grunert

From: Sascha Grunert <[email protected]>

The field exists since Linux 5.9 (818c03) but have not been documented yet.

Patch applied. Thanks,
Alex

Quoted 29 lines
---
 man5/proc.5 | 7 +++++++
 1 file changed, 7 insertions(+)
man5/proc.5 +7 -0
index 04b45ccb7..c80b93e24 100644
@@ -2551,6 +2551,7 @@ CapBnd: ffffffffffffffff
 CapAmb:	0000000000000000
 NoNewPrivs:     0
 Seccomp:        0
+Seccomp_filters:        0
 Speculation_Store_Bypass:       vulnerable
 Cpus_allowed:   00000001
 Cpus_allowed_list:      0
@@ -2809,6 +2810,12 @@ This field is provided only if the kernel was built with the
 .B CONFIG_SECCOMP
 kernel configuration option enabled.
 .TP
+.I Seccomp_filters
+.\" commit c818c03b661cd769e035e41673d5543ba2ebda64
+Number of seccomp filters attached to the process
+(since Linux 5.9, see
+.BR seccomp (2)).
+.TP
 .I Speculation_Store_Bypass
 .\" commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64
 Speculation flaw mitigation state
Signature · 2 lines
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5