Re: [PATCH 01/15] selftests/seccomp: Refactor arch register macros to avoid xtensa special case

2020-09-15 Thread Christian Brauner
On Sat, Sep 12, 2020 at 04:08:06AM -0700, Kees Cook wrote: > To avoid an xtensa special-case, refactor all arch register macros to > take the register variable instead of depending on the macro expanding > as a struct member name. > > Signed-off-by: Kees Cook > --- Looks good! Acked-by:

[PATCH 01/15] selftests/seccomp: Refactor arch register macros to avoid xtensa special case

2020-09-12 Thread Kees Cook
To avoid an xtensa special-case, refactor all arch register macros to take the register variable instead of depending on the macro expanding as a struct member name. Signed-off-by: Kees Cook --- tools/testing/selftests/seccomp/seccomp_bpf.c | 97 +-- 1 file changed, 47