commit | dc2ad165f4fbef0fe1028b6b3720c5bec034874f | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Sat Sep 12 04:08:14 2020 -0700 |
committer | Kees Cook <keescook@chromium.org> | Sat Sep 19 00:59:56 2020 -0700 |
tree | e62c3afb42a911cce45579fe4f124756d7df4d83 | |
parent | fdbaa798eaf52a3f1d5d86c5bc035fe8dcc3a384 [diff] |
selftests/seccomp: Convert REGSET calls into ARCH_GETREG/ARCH_SETREG Consolidate the REGSET logic into the new ARCH_GETREG() and ARCH_SETREG() macros, avoiding more #ifdef code in function bodies. Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/lkml/20200912110820.597135-10-keescook@chromium.org Acked-by: Christian Brauner <christian.brauner@ubuntu.com>