projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ab286b2
)
um: don't leak floating point state and segment registers on execve()
author
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 6 Sep 2012 03:20:33 +0000
(23:20 -0400)
committer
Al Viro
<viro@zeniv.linux.org.uk>
Thu, 20 Sep 2012 13:53:01 +0000
(09:53 -0400)
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
arch/um/kernel/exec.c
patch
|
blob
|
history
diff --git
a/arch/um/kernel/exec.c
b/arch/um/kernel/exec.c
index
4cab0c7
..
8c82786
100644
(file)
--- a/
arch/um/kernel/exec.c
+++ b/
arch/um/kernel/exec.c
@@
-39,6
+39,7
@@
void flush_thread(void)
void start_thread(struct pt_regs *regs, unsigned long eip, unsigned long esp)
{
+ get_safe_registers(regs->regs.gp, regs->regs.fp);
PT_REGS_IP(regs) = eip;
PT_REGS_SP(regs) = esp;
current->ptrace &= ~PT_DTRACE;