Re: [PATCH] powerpc/syscall: Fix seccomp errno handling with GENERIC_ENTRY
From: Kees Cook
Date: Fri Jun 26 2026 - 03:51:44 EST
On Wed, Jun 24, 2026 at 10:45:20PM +0530, Mukesh Kumar Chaurasiya (IBM) wrote:
> After enabling GENERIC_ENTRY on PowerPC, seccomp filters using
> SCMP_ACT_ERRNO without an explicit errnoRet value return ENOSYS
> (Function not implemented) instead of the expected EPERM (Operation
> not permitted).
Was this noticed by the seccomp_bpf kselftest? (If not, I'd love a
regression test added for this case...)
-Kees
--
Kees Cook