lkml.org 
[lkml]   [2010]   [Feb]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH] cris/arch-v10: don't clear TIF_SYSCALL_TRACE in ptrace_disable
The flag is already cleared by the only caller directly after the call to
ptrace_disable.

Signed-off-by: Christoph Hellwig <hch@lst.de>

Index: linux-2.6/arch/cris/arch-v10/kernel/ptrace.c
===================================================================
--- linux-2.6.orig/arch/cris/arch-v10/kernel/ptrace.c 2010-02-03 09:59:31.935004127 +0100
+++ linux-2.6/arch/cris/arch-v10/kernel/ptrace.c 2010-02-03 09:59:41.196068227 +0100
@@ -64,8 +64,6 @@ inline int put_reg(struct task_struct *t
void
ptrace_disable(struct task_struct *child)
{
- /* Todo - pending singlesteps? */
- clear_tsk_thread_flag(child, TIF_SYSCALL_TRACE);
}

/*

\
 
 \ /
  Last update: 2010-02-03 10:07    [W:0.019 / U:0.328 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site