[PATCH 3/5] ptrace: change tracehook_report_syscall_exit() to handle stepping

Roland McGrath roland at redhat.com
Wed Nov 11 04:15:57 UTC 2009


> This change affects ia64, microblaze, parisc, powerpc, sh.  They pass
> nonzero "step" argument to tracehook but since it was ignored the tracee
> reports via ptrace_notify(), this is not right and not consistent.

This could be more explicit about the details of the change.  Ideally
we should point to an actual test program whose results are changed by
fixing the kernel.  

I think the best thing to say is that previously using purely
PTRACE_SINGLESTEP without regard to what the user instructions were
could sometimes swallow a provided signal, whereas now it treats the
syscall instruction like any other user instruction.


Thanks,
Roland




More information about the utrace-devel mailing list