[LTP] [PATCH] syscall02: add invalid syscall number test
Andrea Cervesato
andrea.cervesato@suse.com
Tue Jun 30 12:57:47 CEST 2026
Hi Petr,
> > I suggest add two more cases check:
> > 1) -1
> > 2) __NR_syscalls +1 (Base arch/powerpc/kernel/syscall.c)
>
that was my initial idea, but different architectures are starting
from a different value and I wanted to make it generic. I guess
the right way would be to include syscalls.h and use
__LTP__NR_INVALID_SYSCALL at this point. WDYT?
Regards,
--
Andrea Cervesato
SUSE QE Automation Engineer Linux
andrea.cervesato@suse.com
More information about the ltp
mailing list