]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC r275833:
authorkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 19 Dec 2014 09:36:59 +0000 (09:36 +0000)
committerkib <kib@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Fri, 19 Dec 2014 09:36:59 +0000 (09:36 +0000)
commitcf20c57df4e33438b8ca34c325630b8bfa2b3734
tree5f73c9103f4a4a929bffffc74cc6417c69e4c4d2
parent49e623feedf8caed238adea3fe9f1f336692de24
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/10@275933 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
sys/amd64/amd64/exception.S