commit | e4e8e5d28d5e1dac24f775452d4cc6f49f5c069e | [log] [tgz] |
---|---|---|
author | Kees Cook <keescook@chromium.org> | Sat Sep 12 04:08:15 2020 -0700 |
committer | Kees Cook <keescook@chromium.org> | Sat Sep 19 00:59:59 2020 -0700 |
tree | d91403bc2a6da23a342525ed0b7af96198af8fcc | |
parent | dc2ad165f4fbef0fe1028b6b3720c5bec034874f [diff] |
selftests/seccomp: Avoid redundant register flushes When none of the registers have changed, don't flush them back. This can happen if the architecture uses a non-register way to change the syscall (e.g. arm64) , and a return value hasn't been written. Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/lkml/20200912110820.597135-11-keescook@chromium.org Acked-by: Christian Brauner <christian.brauner@ubuntu.com>