linux/arch/um/include/asm
Christoph Hellwig 1bd0950835 um: 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.

XXX: I'm not sure arch_has_single_step() is placed in the exactly correct
location, please verify in which of the ptrace headers it should really
be.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Cc: Oleg Nesterov <oleg@redhat.com>
Cc: Roland McGrath <roland@redhat.com>
Cc: Jeff Dike <jdike@addtoit.com>
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
..
a.out-core.h
apic.h
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
auxvec.h
bugs.h
cache.h
checksum.h
common.lds.S um: Clean up linker script using standard macros. 2009-09-24 17:16:22 -07:00
cputime.h
current.h
delay.h
desc.h
device.h
dma-mapping.h UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
dma.h
emergency-restart.h
fixmap.h
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h
hardirq.h um: convert to asm-generic/hardirq.h 2009-09-22 07:17:45 -07:00
hw_irq.h
io.h
irq_regs.h
irq_vectors.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
irq.h
irqflags.h
kdebug.h
kmap_types.h
mmu_context.h cpumask: use mm_cpumask() wrapper: um 2009-09-24 09:34:51 +09:30
mmu.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
mutex.h
page_offset.h
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h
pci.h PCI: remove pcibios_scan_all_fns() 2009-09-09 13:29:18 -07:00
pda.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
pgalloc.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
pgtable-2level.h
pgtable-3level.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
pgtable.h MM: Pass a PTE pointer to update_mmu_cache() rather than the PTE itself 2010-02-20 16:41:46 +00:00
processor-generic.h
ptrace-generic.h um: use generic ptrace_resume code 2010-03-12 15:52:39 -08:00
required-features.h
sections.h
segment.h
setup.h
smp.h
system.h
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
timex.h
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h
topology.h
uaccess.h
xor.h