[PATCH 10/15] selftests/seccomp: Avoid redundant register flushes

Christian Brauner christian.brauner at ubuntu.com
Wed Sep 16 02:08:40 AEST 2020


On Sat, Sep 12, 2020 at 04:08:15AM -0700, Kees Cook wrote:
> 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 at chromium.org>
> ---

Looks good!
Acked-by: Christian Brauner <christian.brauner at ubuntu.com>


More information about the Linuxppc-dev mailing list