[LTP] [PATCH] sighold02: Fix muslc builds by removing __SIGRTMIN
Richard Palethorpe
rpalethorpe@suse.com
Mon Apr 25 11:21:18 CEST 2022
The minimum real-time signal is always 32 according to
signal(7). Meanwhile __SIGRTMIN is not defined in all lib C
implementations.
Signed-off-by: Richard Palethorpe <rpalethorpe@suse.com>
---
testcases/kernel/syscalls/sighold/sighold02.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/testcases/kernel/syscalls/sighold/sighold02.c b/testcases/kernel/syscalls/sighold/sighold02.c
index daa86192e..1cfb7688b 100644
--- a/testcases/kernel/syscalls/sighold/sighold02.c
+++ b/testcases/kernel/syscalls/sighold/sighold02.c
@@ -33,7 +33,7 @@ static int sigs_map[NUMSIGS];
static int skip_sig(int sig)
{
- if (sig >= __SIGRTMIN && sig < SIGRTMIN)
+ if (sig >= 32 && sig < SIGRTMIN)
return 1;
switch (sig) {
--
2.35.1
More information about the ltp
mailing list