K 10 svn:author V 3 kib K 8 svn:date V 27 2008-09-02T17:52:11.840436Z K 7 svn:log V 628 - When executing FreeBSD/amd64 binaries from FreeBSD/i386 or Linux/i386 processes, clear PCB_32BIT and PCB_GS32BIT bits [1]. - Reread the fs and gs bases from the msr unconditionally, not believing the values in pcb_fsbase and pcb_gsbase, since usermode may reload segment registers, invalidating the cache. [2]. Both problems resulted in the wrong fs base, causing wrong tls pointer be dereferenced in the usermode. Reported and tested by: Vyacheslav Bocharov [1] Reported by: Bernd Walter , Artem Belevich [2] Reviewed by: peter MFC after: 3 days END