lkml.org 
[lkml]   [2002]   [Apr]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] Re: SSE related security hole
Linus Torvalds wrote:
>
> 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
>

All emms does is reset the tag word. It doesn't touch the registers.

--

Brian Gerst

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:25    [W:0.091 / U:0.176 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site