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

Signed-off-by: Al Viro <[email protected]>
This commit is contained in:
Al Viro authored and Richard Weinberger committed 2012-09-27 18:04:38 +02:00
1 parent 424597921a
commit bf56d57638
1 file changed
+1
+1
View File
@@ -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;