On Wed, 2026-10-14 at 10:07 +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.
> 
> 

Tested on a SPARC T7-1 (M7), 7.3-rc5 with the sparc64 series. The
64-bit seccomp_bpf gives the same result with this patch as without
it, pass:95 fail:0 skip:16. Built as a 32-bit binary against a sparc
Gentoo stage3, it gets the same result on the 64-bit kernel through
the compat path.

Tested-by: Stian Halseth <[email protected]> # sparc64, native and compat

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to