Re: [PATCH] powerpc/syscall: Fix seccomp errno handling with GENERIC_ENTRY
From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-06-26 14:30:28
Also in:
lkml
From: "Christophe Leroy (CS GROUP)" <chleroy@kernel.org>
Date: 2026-06-26 14:30:28
Also in:
lkml
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:quoted
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@kunlun.suse.cz/ (local)