Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

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

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
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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;