lkml.org 
[lkml]   [2011]   [May]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectPTRACE: compat_sys_ptrace(PTRACE_TRACEME) lacks arch_ptrace_attach()?
From
Date
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.


\
 
 \ /
  Last update: 2011-05-26 05:11    [W:0.044 / U:0.268 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site