From: Jeff Dike Date: Sat, 10 Feb 2007 09:44:30 +0000 (-0800) Subject: [PATCH] uml: x86_64 ptrace fixes X-Git-Tag: v2.6.21-rc1~274^2~384 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6e6d74cfac782a3a4cb5111bd9c25cd95d6b7c6c;p=pandora-kernel.git [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 Cc: Paolo 'Blaisorblade' Giarrusso Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed