Re: [PATCH] man/man2/seccomp.2: Fix signal.h type conflict with glibc in seccomp.2

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

> Subject: Re: [PATCH] man/man2/seccomp.2: Fix signal.h type conflict with glibc in seccomp.2

On 2026-05-20T17:32:58-0400, ChaseKnowlden wrote:
> Signed-off-by: ChaseKnowlden <[email protected]>

You should say something more in the commit message.  What type conflict
do you have?  Why is this fix correct?  It would be good to link to
other sources that confirm this, and/or CC glibc.

> ---
>  man/man2/seccomp.2 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/man/man2/seccomp.2 b/man/man2/seccomp.2
> index e469f3997..8b8f2fc61 100644
> --- a/man/man2/seccomp.2
> +++ b/man/man2/seccomp.2
> @@ -16,7 +16,7 @@ Standard C library
>  .BR "#include <linux/seccomp.h>" "  /* Definition of " SECCOMP_* " constants */"
>  .BR "#include <linux/filter.h>" "   /* Definition of " "struct sock_fprog" " */"
>  .BR "#include <linux/audit.h>" "    /* Definition of " AUDIT_* " constants */"
> -.BR "#include <linux/signal.h>" "   /* Definition of " SIG* " constants */"
> +.BR "#include <signal.h>" "   /* Definition of " SIG* " constants */"

Please keep the alignment of the comments.


Have a lovely night!
Alex

>  .BR "#include <sys/ptrace.h>" "     /* Definition of " PTRACE_* " constants */"
>  .\" Kees Cook noted: Anything that uses SECCOMP_RET_TRACE returns will
>  .\"                  need <sys/ptrace.h>
> -- 
> 2.54.0
> 
> 

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

iQIzBAABCgAdFiEES7Jt9u9GbmlWADAi64mZXMKQwqkFAmoOP00ACgkQ64mZXMKQ
wqnx6g/7B7QjamLqAGDklRt/ChjYmbKGOnE9UcTcR6spp/BbtseKknX9HVJTwhLA
iRVL7wr6/EPElDh5fQyzgsUzyWEFf9wnK8b9C7YvjQ/w/vij4lQB/zc4DSjnAO8n
XngbwGuo7XtC9vO0E9RNpufJju9S8R7IonBu9R3gvlWjzyTyxWx+eaMR3zRW0Zr7
ihfojJRTKVnmVHOOu5wlAH5l7b2rwMMGtwtCsLDjL2qeQ0+j0Z6uzjWUU1wrJbCL
6QRS7ODjLUZ/wSDSQetv+iOgsiuruh5hMp55x3sj4sna8QmJyZD7EMIv8064r1nN
SDsgTWM+t57Vl4CFBaoLp8tjg5tbSWTe50bff/qXx2pmLv1jSjOR5HZoO7YkWCSy
vVCyl+V7ZZYwEx1AGrLfoF8o1zqGZwFD0I6NOxqzpMW7MoeoukVOKn+ET1xfzwOL
/07OJFgRqXHObjQFdXmOmB2OPXxo3ED9cyZ59cTcs76AeK3Q2ogssn2n4G8P0Iyh
QRV7NiTU8p0HHIPnZN2W3nQoMIa91aO2tTjvn67eQfek8x4E8FuNfmtBjZxnXWcQ
Xs+sDp/s4Llrx2oLUL1k6pigCYN0e51WAw521nhFVx5tVQ+FIZjkHQe4DperD+v0
1k231Djv7dezPOE0H2QSA3zwGoVqsvt4QXzBLQjzDaNIKlIBGjQ=
=dwJE
-----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.