[LTP] [PATCH v3] sigrelse01: Select signals based on SIGRTMIN/SIGRTMAX for musl compat
Pedro Falcato
pfalcato@suse.de
Mon Aug 18 17:35:44 CEST 2025
On Mon, Aug 18, 2025 at 03:00:38PM +0200, Petr Vorel wrote:
> Hi Florian, Pedro,
>
> > This avoids selecting signal 34 when the test is run using
> > musl. Signal 34 is used internally by musl as SIGSYNCCALL.
> > Consequently, musl's signal() will return with an error status and
> > errno set to EINVAL when trying to setup a signal handler for signal
> > 34, causing the sigrelse01 test to fail.
>
> +1, now it works on both glibc and musl (and hopefully in the rest of libc).
>
> Reviewed-by: Petr Vorel <pvorel@suse.cz>
> Tested-by: Petr Vorel <pvorel@suse.cz>
>
> > Thanks to Pedro Falcato for suggesting using SIGRTMIN and SIGRTMAX for
> > this check.
>
> nit: @Florian instead of the above I'll add:
> Suggested-by: Pedro Falcato <pfalcato@suse.de>
>
> @Pedro Can I merge with your RBT?
Assuming you mean Reviewed-by, yep, all fine by me.
--
Pedro
More information about the ltp
mailing list