Messages in this thread | | | Subject | PTRACE: compat_sys_ptrace(PTRACE_TRACEME) lacks arch_ptrace_attach()? | From | Tetsuo Handa <> | Date | Thu, 26 May 2011 12:07:52 +0900 |
| |
I noticed that commit 6ea6dd93 "ptrace: Call arch_ptrace_attach() when request=PTRACE_TRACEME" added
if (!ret) arch_ptrace_attach(current);
call to sys_ptrace(PTRACE_TRACEME) but commit c269f196 "x86: compat_sys_ptrace" did not add that call to compat_sys_ptrace(PTRACE_TRACEME).
If compat_sys_ptrace(PTRACE_ATTACH) needs arch_ptrace_attach(), maybe compat_sys_ptrace(PTRACE_TRACEME) needs arch_ptrace_attach() as well.
| |