Re: [PATCH] powerpc/syscall: Fix seccomp errno handling with GENERIC_ENTRY
From: Kees Cook <kees@kernel.org>
Date: 2026-06-26 07:50:50
Also in:
lkml
From: Kees Cook <kees@kernel.org>
Date: 2026-06-26 07:50:50
Also in:
lkml
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