Skip to content

Commit

Permalink
um: don't leak floating point state and segment registers on execve()
Browse files Browse the repository at this point in the history
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
  • Loading branch information
Al Viro authored and Richard Weinberger committed Sep 27, 2012
1 parent 4245979 commit bf56d57
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions arch/um/kernel/exec.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit bf56d57

Please sign in to comment.