On 11/14, Renzo Davoli wrote:
>
> Extend PTRACE_SET_SYSCALL_INFO to support skipping a system call
> triggered via seccomp.

...

> Signed-off-by: Renzo Davoli <[email protected]>
> [v8: skip via seccomp_ptrace_skip_syscall() instead of syscall_set_nr(-1),
>  separate ptrace_set_syscall_info_seccomp_skip(), reject later
>  PTRACE_SYSCALL_INFO_SECCOMP updates during the same stop]
> [v11: report the stop as PTRACE_SYSCALL_INFO_EXIT once the syscall is
>  skipped, instead of rejecting PTRACE_SYSCALL_INFO_SECCOMP explicitly]
> Assisted-by: claude-opus-5-5
> ---
>  kernel/ptrace.c | 49 +++++++++++++++++++++++++++++++++++++++++++++++--
>  1 file changed, 47 insertions(+), 2 deletions(-)

Reviewed-by: Oleg Nesterov <[email protected]>



Sashiko has some concerns
https://sashiko.dev/#/patchset/20261114181923.370930-1-renzo%40cs.unibo.it
but IIUC this is the "pre-existing" problem fixed by

        [PATCH v3 0/2] powerpc/syscall: Fix the return value of skipped syscalls
        https://lore.kernel.org/lkml/[email protected]/

so this change do not need to depend on the powerpc-specific fix above.

Right? Just to be sure...

Oleg.


Reply via email to