Consolidate PTRACE_DETACH
commit1bcf548293aef19b0797348332cf1dfbf2116cef
authorAlexey Dobriyan <adobriyan@sw.ru>
Tue, 16 Oct 2007 08:23:45 +0000 (16 01:23 -0700)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Tue, 16 Oct 2007 16:42:49 +0000 (16 09:42 -0700)
tree80b2535e3dd2a6d23c15b91e10cae227310a44ee
parente6716b87d5c9edf19c711212785cd30c6ec21868
Consolidate PTRACE_DETACH

Identical handlers of PTRACE_DETACH go into ptrace_request().
Not touching compat code.
Not touching archs that don't call ptrace_request.

Signed-off-by: Alexey Dobriyan <adobriyan@sw.ru>
Acked-by: Christoph Hellwig <hch@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
19 files changed:
arch/alpha/kernel/ptrace.c
arch/arm/kernel/ptrace.c
arch/avr32/kernel/ptrace.c
arch/blackfin/kernel/ptrace.c
arch/cris/arch-v10/kernel/ptrace.c
arch/cris/arch-v32/kernel/ptrace.c
arch/m32r/kernel/ptrace.c
arch/m68k/kernel/ptrace.c
arch/mips/kernel/ptrace.c
arch/parisc/kernel/ptrace.c
arch/powerpc/kernel/ptrace.c
arch/s390/kernel/ptrace.c
arch/sh/kernel/ptrace.c
arch/sh64/kernel/ptrace.c
arch/um/kernel/ptrace.c
arch/x86/kernel/ptrace_32.c
arch/x86/kernel/ptrace_64.c
arch/xtensa/kernel/ptrace.c
kernel/ptrace.c