[PATCH v2 2/4] selftests/seccomp: Allow syscall nr and ret value to be set separately

Christian Brauner christian.brauner at ubuntu.com
Mon Sep 21 03:50:31 EDT 2020

On Sat, Sep 19, 2020 at 01:06:35AM -0700, Kees Cook wrote:
> In preparation for setting syscall nr and ret values separately, refactor
> the helpers to take a pointer to a value, so that a NULL can indicate
> "do not change this respective value". This is done to keep the regset
> read/write happening once and in one code path.
> Signed-off-by: Kees Cook <keescook at chromium.org>
> ---

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

More information about the linux-arm-kernel mailing list