Thread (20 messages) 20 messages, 5 authors, 2018-12-22

Re: [PATCH v4] powerpc/ptrace: replace ptrace_report_syscall() with a tracehook call

From: Oleg Nesterov <oleg@redhat.com>
Date: 2018-12-07 16:34:18
Also in: lkml

On 12/07, Dmitry V. Levin wrote:
On Fri, Dec 07, 2018 at 10:12:49PM +1100, Michael Ellerman wrote:
quoted
quoted
Sorry, this patch does not work, please ignore it.
Hmm OK. Why exactly?
Unfortunately, I have no idea why it doesn't work.
All I can say is it breaks strace because the kernel no longer sends
syscall entry stops.
May be because TIF_SYSCALL_EMU/etc is a bit number, not a mask? IOW, rather
than

	whatever & TIF_XXX

you should do

	whatever & _TIF_XXX

intstead?

Oleg.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help