Re: [PATCH 06/15] selftests/seccomp: mips: Remove O32-specific macro

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:11AM -0700, Kees Cook wrote: > Instead of having the mips O32 macro special-cased, pull the logic into > the SYSCALL_NUM() macro. Additionally include the ABI headers, since > these appear to have been missing, leaving __NR_O32_Linux undefined. > > Signed-off-by:

[PATCH 06/15] selftests/seccomp: mips: Remove O32-specific macro

2020-09-12 Thread Kees Cook
Instead of having the mips O32 macro special-cased, pull the logic into the SYSCALL_NUM() macro. Additionally include the ABI headers, since these appear to have been missing, leaving __NR_O32_Linux undefined. Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 18