[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>
Showing
- arch/um/kernel/ptrace.c 7 additions, 0 deletionsarch/um/kernel/ptrace.c
- arch/um/sys-x86_64/ptrace.c 0 additions, 5 deletionsarch/um/sys-x86_64/ptrace.c
- arch/um/sys-x86_64/syscalls.c 8 additions, 6 deletionsarch/um/sys-x86_64/syscalls.c
- include/asm-um/ptrace-x86_64.h 3 additions, 0 deletionsinclude/asm-um/ptrace-x86_64.h
Loading
Please register or sign in to comment