Re: [PATCH] syscall02: add invalid syscall number test
Andrea Cervesato via ltp <[email protected]>
| Newsgroups | gmane.linux.ltp |
|---|---|
| Message-ID | <[email protected]> |
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-IBi9RG/[email protected] -- Mailing list info: https://lists.linux.it/listinfo/ltp