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 x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
apic.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
asm-offsets.h kbuild: move asm-offsets.h to include/generated 2009-12-12 13:08:14 +01:00
auxvec.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
bugs.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
cache.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
checksum.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
common.lds.S um: Clean up linker script using standard macros. 2009-09-24 17:16:22 -07:00
cputime.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
current.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
delay.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
desc.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
device.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
dma-mapping.h UML: Fix some apparent bitrot 2009-06-25 11:22:13 -07:00
dma.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
emergency-restart.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
fixmap.h x86, um: get rid of uml highmem.h 2008-10-22 22:55:21 -07:00
ftrace.h tracing: make CALLER_ADDRx overwriteable 2009-03-02 16:49:37 -05:00
futex.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
hardirq.h um: convert to asm-generic/hardirq.h 2009-09-22 07:17:45 -07:00
hw_irq.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
io.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
irq_regs.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
irq_vectors.h uml: remove useless comments 2009-04-01 08:59:17 -07:00
irq.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
irqflags.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
kdebug.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
kmap_types.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
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 x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
page_offset.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
page.h asm-generic: rename page.h and uaccess.h 2009-06-11 21:02:17 +02:00
param.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
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 x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
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 x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
ptrace-generic.h um: use generic ptrace_resume code 2010-03-12 15:52:39 -08:00
required-features.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
sections.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
segment.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
setup.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
smp.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
system.h uml got broken by commit 30742d5c22 2009-01-05 17:41:45 -08:00
thread_info.h sched: INIT_PREEMPT_COUNT 2009-07-10 14:24:05 -07:00
timex.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
tlb.h mm: Pass virtual address to [__]p{te,ud,md}_free_tlb() 2009-07-27 12:10:38 -07:00
tlbflush.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
topology.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
uaccess.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00
xor.h x86, um: initial part of asm-um move 2008-10-22 22:55:19 -07:00