cvs commit: src/sys/amd64/amd64 machdep.c mp_machdep.c
Peter Wemm
peter at FreeBSD.org
Wed Jul 9 19:44:43 UTC 2008
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
More information about the cvs-src
mailing list