git://git.onelab.eu
/
linux-2.6.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fedora kernel-2.6.17-1.2142_FC4 patched with stable patch-2.6.17.4-vs2.0.2-rc26.diff
[linux-2.6.git]
/
arch
/
um
/
sys-x86_64
/
ptrace_user.c
diff --git
a/arch/um/sys-x86_64/ptrace_user.c
b/arch/um/sys-x86_64/ptrace_user.c
index
12e404c
..
b5f9c33
100644
(file)
--- a/
arch/um/sys-x86_64/ptrace_user.c
+++ b/
arch/um/sys-x86_64/ptrace_user.c
@@
-24,6
+24,13
@@
int ptrace_setregs(long pid, unsigned long *regs)
return(0);
}
+int ptrace_setfpregs(long pid, unsigned long *regs)
+{
+ if (ptrace(PTRACE_SETFPREGS, pid, 0, regs) < 0)
+ return -errno;
+ return 0;
+}
+
void ptrace_pokeuser(unsigned long addr, unsigned long data)
{
panic("ptrace_pokeuser");