]> CyberLeo.Net >> Repos - FreeBSD/stable/8.git/commit
MFC r275833:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 19 Dec 2014 09:52:21 +0000 (09:52 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 19 Dec 2014 09:52:21 +0000 (09:52 +0000)
commitb32eccb32f6a6d655ffeebc46d8de29b4099a509
treeec510bfdc190377897f8ad73ff71c4bc8806da87
parenta7f89a57f1aba89ff717168c61c5053a17b0aa38
MFC r275833:
The iret instruction may generate #np and #ss fault, besides #gp.
When returning to usermode, the handler for that exceptions is also
executed with wrong gs base.  Handle all three possible faults in the
same way, checking for iret fault, and performing full iret.

git-svn-id: svn://svn.freebsd.org/base/stable/8@275935 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/exception.S