Re: [PATCH] powerpc/syscall: Fix seccomp errno handling with GENERIC_ENTRY
From: Christophe Leroy (CS GROUP)
Date: Fri Jun 26 2026 - 10:30:44 EST
Le 26/06/2026 à 09:50, Kees Cook a écrit :
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...)
Was reported here:
https://lore.kernel.org/all/ajpp-_XnbF3UTM_E@xxxxxxxxxxxxxx/