Re: [uml-devel] [PATCH] um: fix FPU register double-restore after sigreturn

2016-03-18 Thread Richard Weinberger
Jeff, Eli, Am 18.03.2016 um 17:42 schrieb Jeff Dike: > On Sat, Mar 19, 2016 at 12:13:47AM +0800, Eli Cooper wrote: >> I agree that we should keep userspace() minimal. So what in the first >> place is the FPU state save/restore code for? Or, what (except for >> sigreturn) could possibly mess the FP

Re: [uml-devel] [PATCH] um: fix FPU register double-restore after sigreturn

2016-03-18 Thread Richard Weinberger
Eli, Am 16.03.2016 um 02:25 schrieb Eli Cooper: > This patch prevents userspace() from incorrectly restoring FPU registers > after a sigreturn or rt_sigreturn system call, which has already restored > FPU registers to the state prior to the signal handler was invoked. > > Fixes FPU state corrupti