linux-stable-rt/arch/m32r/kernel
Christoph Hellwig e34112e396 m32r: use generic ptrace_resume code
Use the generic ptrace_resume code for PTRACE_SYSCALL, PTRACE_CONT,
PTRACE_KILL and PTRACE_SINGLESTEP.  This implies defining
arch_has_single_step in <asm/ptrace.h> and implementing the
user_enable_single_step and user_disable_single_step functions, which also
causes the breakpoint information to be cleared on fork, which could be
considered a bug fix.

Also the TIF_SYSCALL_TRACE thread flag is now cleared on PTRACE_KILL which
it previously wasn't, which is consistent with all architectures using the
modern ptrace code.

The old code only disables the breakpoints on PTRACE_KILL, while after
this patch this also happens for PTRACE_CONT and PTRACE_SYSCALL which
matches the behaviour of the other architetures.  I think this is a
bugfixes, but please double verify this is correct.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Hirokazu Takata <takata@linux-m32r.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2010-03-12 15:52:39 -08:00
..
Makefile
align.c
asm-offsets.c
entry.S
head.S
init_task.c
irq.c genirq: Convert irq_desc.lock to raw_spinlock 2009-12-14 23:55:33 +01:00
m32r_ksyms.c
module.c
process.c
ptrace.c m32r: use generic ptrace_resume code 2010-03-12 15:52:39 -08:00
setup.c
signal.c
smp.c m32r: Should index be positive? 2009-11-04 08:39:26 +09:00
smpboot.c
sys_m32r.c Add generic sys_olduname() 2010-03-12 15:52:32 -08:00
syscall_table.S Unify sys_mmap* 2009-12-11 06:44:29 -05:00
time.c arch/m32r: Use DIV_ROUND_CLOSEST 2009-11-04 08:31:50 +09:00
traps.c m32r: Fix IPI function calls for SMP 2009-10-04 12:02:37 +09:00
vmlinux.lds.S m32r: add NOTES to vmlinux.lds.S to remove .note.gnu.build-id section 2009-11-04 08:33:23 +09:00