Re: [PATCH v2 0/2] Document seccomp flags

Alejandro Colomar <[email protected]>
Newsgroups org.kernel.vger.linux-man
Message-ID <aguPU8LynijI5dS5@devuan>
Hi,

On 2026-05-18T04:13:08+0100, funsafemath wrote:
> 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

Thanks!  I've applied both patches.


Have a lovely night!
Alex

> 
>  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
> -- 
> 2.52.0
> 



-- 
<https://www.alejandro-colomar.es>
signature.asc (application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmoLj2YACgkQ64mZXMKQ
wqmaRxAAlpT7es2ExM4b88jCCnFiDR/xri67gANBB2capnXWDhIydb+DLK847xCk
EUF38F7GJ96fp00yXYsMRFpQCu2KNSNMr1HLN5Z2qw4bO3UqcdrsLlEVhlX+SpSF
0ld+y6AwL/tGiMVoA7UkBiupSJTIkKSK7KuokDsNmZ8Wmw14PilIUQCn845m9byE
SkFt1NN9mCr1EakExHnmvFK4pnDAKDHViI0AUZMpFDq/DkC9kEy+FjSWuJ2nEP9k
M16Hw++/3iLmoUnbniN16ulfsFaRbcGG4+nI9v8oTHQVkLpcVGflGU8Sg5/C7L3M
WVNU9rWtd+oTUs5CI5E/XoGRlUFvRHWvjPsu0cMZvuR0qTkbTl7aH3McjMTPrEsZ
GxD0q6grN14BCjSz2NH9w9lWb+81lJsembefnkPLuO07uUrDVb5ZRdL5nscU+Vsj
3lyWwVyhgNksivHpwBuH6JC8bkHSDBOOCSV6l0WXC2bjAIVraS25LT5wGEZaPHTj
v3OsqduceNeDz1uh0FXFUeAoxP4bgZnDkrxRz8S8c50xa7riFrH3n9H7gPawbWg2
aLxTBDEGAcs7jFvp2XsvmRDD5BJ+iIpa/K7EqK8NmAOQXDerObhS8DvWi//uw55j
IbuH6H3vHkOzVAt2+Hv7+Tpz/WkN2CY6Zn+2O2Xpa0OzZtHLbqI=
=kA52
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.