Re: [PATCH V6] powerpc/syscall: Fix syscall skip handling for seccomp and ptrace

Madhavan Srinivasan <[email protected]>
Newsgroups gmane.linux.ports.ppc.embedded
Message-ID <178598971874.942627.7409142497641761431.b4-ty__26994.1307998792$1785992008$gmane$org@linux.ibm.com>
On Fri, 31 Jul 2026 13:45:21 +0530, Mukesh Kumar Chaurasiya (IBM) wrote:
> After enabling GENERIC_ENTRY on PowerPC, syscall_enter_from_user_mode()
> returns -1 as a sentinel to signal that seccomp or ptrace has intercepted
> the syscall and already set a return value via syscall_set_return_value().
> system_call_exception() was not handling this sentinel, and since -1UL
> is >= NR_syscalls, the code fell into the out-of-range path and returned
> -ENOSYS, overwriting the errno already placed in regs->gpr[3].
> 
> [...]

Applied to powerpc/next.

[1/1] powerpc/syscall: Fix syscall skip handling for seccomp and ptrace
      https://git.kernel.org/powerpc/c/69cb2be898be6d5826cacd1a628f6945a24480b6

cheers
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.