Commit 344569ae authored by Al Viro's avatar Al Viro

um: don't leak floating point state and segment registers on execve()

Signed-off-by: default avatarAl Viro <viro@zeniv.linux.org.uk>
parent ab286b21
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment