Date: Wed, 9 Jul 2008 19:44:37 +0000 (UTC) From: Peter Wemm <peter@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/amd64/amd64 machdep.c mp_machdep.c Message-ID: <200807091944.m69JigbB027629@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
peter 2008-07-09 19:44:37 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 machdep.c mp_machdep.c
Log:
SVN rev 180393 on 2008-07-09 19:44:37Z by peter
Band-aid a problem with 32 bit selector setup.
Initialize %ds, %es, and %fs during CPU startup. Otherwise a garbage
value could leak to a 32-bit process if a process migrated to a different
CPU after exec and the new CPU had never exec'd a 32-bit process.
A more complete fix is needed, but this mitigates the most frequent
manifestations.
Obtained from: ups
Revision Changes Path
1.687 +4 -0 src/sys/amd64/amd64/machdep.c
1.291 +5 -1 src/sys/amd64/amd64/mp_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200807091944.m69JigbB027629>
