projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9842727
)
powerpc: Correctly hookup PTRACE_GET/SETVSRREGS for 32 bit processes
author
Michael Neuling
<mikey@neuling.org>
Mon, 28 Jul 2008 15:13:14 +0000
(
01:13
+1000)
committer
Benjamin Herrenschmidt
<benh@kernel.crashing.org>
Wed, 30 Jul 2008 05:26:54 +0000
(15:26 +1000)
Fix bug where PTRACE_GET/SETVSRREGS are not connected for 32 bit processes.
Signed-off-by: Michael Neuling <mikey@neuling.org>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
arch/powerpc/kernel/ptrace32.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/kernel/ptrace32.c
b/arch/powerpc/kernel/ptrace32.c
index 67bf1a1e7e1442f7a3ab9485fc2d95ad17a543f7..197d49c790ad55b2e67b6b5a989bb9b958dfd14c 100644
(file)
--- a/
arch/powerpc/kernel/ptrace32.c
+++ b/
arch/powerpc/kernel/ptrace32.c
@@
-294,6
+294,8
@@
long compat_arch_ptrace(struct task_struct *child, compat_long_t request,
case PTRACE_SETFPREGS:
case PTRACE_GETVRREGS:
case PTRACE_SETVRREGS:
+ case PTRACE_GETVSRREGS:
+ case PTRACE_SETVSRREGS:
case PTRACE_GETREGS64:
case PTRACE_SETREGS64:
case PPC_PTRACE_GETFPREGS: