Re: [PATCH] Re: SSE related security hole

Linus Torvalds
2002-04-20T00:10:01Z

On Fri, 19 Apr 2002, H. Peter Anvin wrote:
>
> Indeed. Logically, FNINIT should have been extended to initialize it all -
> - it is a security hole that it doesn't initialize MMX properly.

Well, MMX should arguably be initialized with "emms", so the proper
sequence migth be something like

if (sse)
asm("emms");
asm("fninit");

What does emms do to SSE2?

Linus