diff options
author | Kees Cook <keescook@chromium.org> | 2020-09-12 14:08:15 +0300 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2020-09-19 10:59:59 +0300 |
commit | e4e8e5d28d5e1dac24f775452d4cc6f49f5c069e (patch) | |
tree | d91403bc2a6da23a342525ed0b7af96198af8fcc /lib/cpu_rmap.c | |
parent | dc2ad165f4fbef0fe1028b6b3720c5bec034874f (diff) | |
download | linux-e4e8e5d28d5e1dac24f775452d4cc6f49f5c069e.tar.xz |
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>
Diffstat (limited to 'lib/cpu_rmap.c')
0 files changed, 0 insertions, 0 deletions