Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Link: https://lore.kernel.org/lkml/[email protected] Acked-by: Christian Brauner <[email protected]>
- Loading branch information