]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[PATCH] uml: x86_64 ptrace fixes
authorJeff Dike <jdike@addtoit.com>
Sat, 10 Feb 2007 09:44:30 +0000 (01:44 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Sun, 11 Feb 2007 18:51:24 +0000 (10:51 -0800)
commit6e6d74cfac782a3a4cb5111bd9c25cd95d6b7c6c
treef63c0433740168f56916ece27793e9b69a40e072
parentf355559cf78455ed6be103b020e4b800230c64eb
[PATCH] uml: x86_64 ptrace fixes

This patch fixes some missing ptrace bits on x86_64.  PTRACE_ARCH_PRCTL is
hooked up and implemented.  This required generalizing arch_prctl_skas
slightly to take a task_struct to modify.  Previously, it always operated on
current.

Reading and writing the debug registers is also enabled by un-ifdefing the
code that implements that.  It turns out that x86_64 is identical to i386, so
the same code can be used.

Signed-off-by: Jeff Dike <jdike@addtoit.com>
Cc: Paolo 'Blaisorblade' Giarrusso <blaisorblade@yahoo.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/um/kernel/ptrace.c
arch/um/sys-x86_64/ptrace.c
arch/um/sys-x86_64/syscalls.c
include/asm-um/ptrace-x86_64.h