Date: Wed, 25 Mar 2009 22:08:30 +0000 (UTC) From: John Baldwin <jhb@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 fpu.c src/sys/i386/isa npx.c Message-ID: <200903252209.n2PM9IBg042246@repoman.freebsd.org>
index | next in thread | raw e-mail
jhb 2009-03-25 22:08:30 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 fpu.c
sys/i386/isa npx.c
Log:
SVN rev 190426 on 2009-03-25 22:08:30Z by jhb
Fix a few nits in the earlier changes to prevent local information leakage
in AMD FPUs:
- Do not clear the affected state in the case that the FPU registers for
the thread that already owns the FPU are changed via fpu_setregs(). The
only local information the thread would see is its own state in that
case.
- Fix a type mismatch for the dummy variable used in a "fld". It accepts
a float, not a double.
Reviewed by: bde
Approved by: so (cperciva)
MFC after: 1 month
Revision Changes Path
1.165 +1 -2 src/sys/amd64/amd64/fpu.c
1.180 +8 -4 src/sys/i386/isa/npx.c
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903252209.n2PM9IBg042246>
