Skip to contentSkip to conversation

man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV

PATCH Superseded funsafemath 2 participants 3 messages May 16 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 2/2 man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV

Document the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag,
which makes the process ignore non-fatal signals until the supervisor sends a response.

Relevant kernel documentation: <Documentation/userspace-api/seccomp_filter.rst>

---
 man/man2/seccomp.2 | 7 +++++++
 1 file changed, 7 insertions(+)
man/man2/seccomp.2 +7 -0
index 0729a653c..5dd2675fc 100644
@@ -256,6 +256,13 @@ .SH DESCRIPTION
 .B SECCOMP_FILTER_FLAG_TSYNC
 flags together results in
 .BR EINVAL .
+.TP
+.BR SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV " (since Linux 5.19)"
+.\" commit c2aa2dfef243efe213a480a1ee8566507a5152f4
+Ignore non-fatal signals until the supervisor sends a response.
+.IP
+.B SECCOMP_FILTER_FLAG_NEW_LISTENER
+flag must be set.
 .RE
 .TP
 .BR SECCOMP_GET_ACTION_AVAIL " (since Linux 4.14)"
Signature · 1 line
2.52.0
#1 lore raw

Sorry, set a wrong reply header, so message was sent in a separate thread

#2 lore raw
In reply to funsafemath

Hi,

Quoted 1 line

Subject: Re: [PATCH 2/2] man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV

Please use the In-Reply-To email header field so that related patches are part of the same thread.

Quoted 4 lines · funsafemath

Document the SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV flag,
which makes the process ignore non-fatal signals until the supervisor sends a response.

Relevant kernel documentation: <Documentation/userspace-api/seccomp_filter.rst>

Please sign the patch.

Quoted 9 lines
---
 man/man2/seccomp.2 | 7 +++++++
 1 file changed, 7 insertions(+)
man/man2/seccomp.2 +0 -0
index 0729a653c..5dd2675fc 100644

man/man2/seccomp.2 .SH DESCRIPTION · line 265

Quoted 10 lines
man/man2/seccomp.2 +7 -0
@@ -256,6 +256,13 @@ .SH DESCRIPTION
 .B SECCOMP_FILTER_FLAG_TSYNC
 flags together results in
 .BR EINVAL .
+.TP
+.BR SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV " (since Linux 5.19)"
+.\" commit c2aa2dfef243efe213a480a1ee8566507a5152f4
+Ignore non-fatal signals until the supervisor sends a response.
+.IP
+.B SECCOMP_FILTER_FLAG_NEW_LISTENER
+flag must be set.

This sentence is incomplete. A correct English sentence would have to be on of these:

- The XXX flag must be set.
- XXX must be set.

Have a lovely night!
Alex

Quoted 6 lines
man/man2/seccomp.2 +0 -0
 .RE
 .TP
 .BR SECCOMP_GET_ACTION_AVAIL " (since Linux 4.14)"
Signature · 1 line
2.52.0
Signature · 1 line
<https://www.alejandro-colomar.es>