Re: [PATCH v2] powerpc/ptrace: Do not return ENOSYS if invalid syscall

2020-04-08 Thread Michael Ellerman
Hi Cascardo, Thanks for following-up on this. Unfortunately I don't think I can merge this fix. Thadeu Lima de Souza Cascardo writes: > If a tracer sets the syscall number to an invalid one, allow the return > value set by the tracer to be returned the tracee. The problem is this patch not

[PATCH v2] powerpc/ptrace: Do not return ENOSYS if invalid syscall

2020-03-29 Thread Thadeu Lima de Souza Cascardo
If a tracer sets the syscall number to an invalid one, allow the return value set by the tracer to be returned the tracee. The test for NR_syscalls is already at entry_64.S, and it's at do_syscall_trace_enter only to skip audit and trace. After this, two failures from seccomp_bpf selftests