diff options
author | Oleg Nesterov <oleg@redhat.com> | 2009-06-17 19:27:27 -0400 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-06-18 16:03:49 -0400 |
commit | 48597760fad3d6a3e30a14241a3ce5ccb1a0e9bc (patch) | |
tree | 5081660166bf7e0412baf34de9901807a81d6f5c /arch/m32r/kernel/process.c | |
parent | 9d35f8464dd51466e60447625784cf1740f03ff4 (diff) |
ptrace: remove PT_DTRACE from arch/m32r
m32r: PTRACE_SINGLESTEP sets PT_DTRACE, it is never used except cleared
after do_execve().
Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Hirokazu Takata <takata@linux-m32r.org>
Acked-by: Roland McGrath <roland@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/m32r/kernel/process.c')
-rw-r--r-- | arch/m32r/kernel/process.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/arch/m32r/kernel/process.c b/arch/m32r/kernel/process.c index 3e876f0baebc..67a01e1e4283 100644 --- a/arch/m32r/kernel/process.c +++ b/arch/m32r/kernel/process.c | |||
@@ -302,11 +302,6 @@ asmlinkage int sys_execve(char __user *ufilename, char __user * __user *uargv, | |||
302 | goto out; | 302 | goto out; |
303 | 303 | ||
304 | error = do_execve(filename, uargv, uenvp, ®s); | 304 | error = do_execve(filename, uargv, uenvp, ®s); |
305 | if (error == 0) { | ||
306 | task_lock(current); | ||
307 | current->ptrace &= ~PT_DTRACE; | ||
308 | task_unlock(current); | ||
309 | } | ||
310 | putname(filename); | 305 | putname(filename); |
311 | out: | 306 | out: |
312 | return error; | 307 | return error; |