Re: [PATCH 3/3] selftests/seccomp: add sparc32 support

From: Kees Cook

Date: Wed Oct 14 2026 - 12:40:24 EST


On Wed, Oct 14, 2026 at 10:07:30AM +0200, Ludwig Rydberg wrote:
> Add SPARC32 definitions to seccomp_bpf selftest.
>
> Reuse the sparc64 register handling on sparc32 but adapt the carry
> bit handling to use %tstate on sparc64 and %psr on sparc32.
>
> Signed-off-by: Ludwig Rydberg <ludwig.rydberg@xxxxxxxxxxx>

LGTM from a seccomp test perspective. Please feel free to carry this via
the sparc tree:

Reviewed-by: Kees Cook <kees@xxxxxxxxxx>

--
Kees Cook