Skip to contentSkip to conversation

proc.5: add Seccomp_filters entry

PATCH Superseded Sascha Grunert 2 participants 2 messages Aug 11, 2023 – Aug 12, 2023 1 message not in the archive Man-pages: manual pages for Linux -- Sections 2, 3, 4, 5, and 7

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 proc.5: add Seccomp_filters entry

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 attached seccomp filters 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

A message that is not in the archive (sent off-list or not yet received): CACKs7VATxovBTn3Ez5Ys-MUo0cKSO8YnfDRSFv5gj2c0SuXsbA@mail.gmail.com

#2 lore raw
Quoted 34 lines · Stefan Puiu

Hi Sasha,

Small nit below.

vin., 11 aug. 2023, 11:44 Sascha Grunert <[email protected]> a scris:

Quoted 27 lines

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 +1 -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

Quoted 8 lines

man5/proc.5 This field is provided only if the kernel was built with the · line 2818

Quoted 5 lines
man5/proc.5 +4 -0
+Number of attached seccomp filters to the process
+(since Linux 5.9, see
+.BR seccomp (2)).
+.TP

I think "number of seccomp filters attached to..." sounds better, though I'm not a native English speaker.

+1

Quoted 11 lines

Stefan.

.I Speculation_Store_Bypass

Quoted 6 lines

.\" commit fae1fa0fc6cca8beee3ab8ed71d54f9a78fa3f64 Speculation flaw mitigation state
--
2.41.0

Signature · 2 lines
<http://www.alejandro-colomar.es/>
GPG key fingerprint: A9348594CE31283A826FBDD8D57633D441E25BB5