Skip to content

Document seccomp flags

funsafemath linux-man 2 versions – In review

Get series with b4
b4 am agqDvDQsWJG4Pw4q@nix-mail

Versions newest first · linked by author and title

  1. v2 Latest2 patches 4 repliesIn review
  2. v11 of 2 patches 2 repliesSuperseded

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCHman/man2/seccomp.2+15 -03 replies
1/2man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCHman/man2/seccomp.2+15 -00 replies
2/2man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECVman/man2/seccomp.2+8 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

Cover letter [PATCH v2 0/2] Document seccomp flags

Hello,

Yes, a libc wrapper would return -1, I've changed the wording and applied other suggestions.

funsafemath (2):
man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCH man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV

 man/man2/seccomp.2 | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

Range-diff against v1:
1: c3c3b728b ! 1: fec59f483 man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_TSYNC_ESRCH
@@ Commit message

<https://lore.kernel.org/r/[email protected]>

+ Signed-off-by: funsafemath <[email protected]>
+
## man/man2/seccomp.2 ##
@@ man/man2/seccomp.2: .SH DESCRIPTION
.B SECCOMP_MODE_STRICT
@@ man/man2/seccomp.2: .SH DESCRIPTION
+.TP
+.BR SECCOMP_FILTER_FLAG_TSYNC_ESRCH " (since Linux 5.7)"
+.\" commit 51891498f2da78ee64dfad88fa53c9e85fb50abf
-+Return
++Fail with
+.B ESRCH
-+instead of the thread ID on synchronization failure if
-+.B SECCOMP_FILTER_FLAG_TSYNC
++instead of returning the thread ID on synchronization failure if
++.B SECCOMP_FILTER_FLAG_TSYNC
+was specified.
+.IP
+If this flag is not set, using
2: 423b0141b ! 2: 8ead033b8 man/man2/seccomp.2: Document SECCOMP_FILTER_FLAG_WAIT_KILLABLE_RECV
@@ Commit message

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

+ Signed-off-by: funsafemath <[email protected]>
+
## man/man2/seccomp.2 ##
@@ man/man2/seccomp.2: .SH DESCRIPTION
.B SECCOMP_FILTER_FLAG_TSYNC
@@ man/man2/seccomp.2: .SH DESCRIPTION
+.\" commit c2aa2dfef243efe213a480a1ee8566507a5152f4 +Ignore non-fatal signals until the supervisor sends a response. +.IP
++The
+.B SECCOMP_FILTER_FLAG_NEW_LISTENER
+flag must be set.
.RE

Signature · 1 line
2.52.0