summaryrefslogtreecommitdiff
path: root/usr.bin
diff options
context:
space:
mode:
authorPhilip Guenthe <guenther@cvs.openbsd.org>2010-09-28 03:53:15 +0000
committerPhilip Guenthe <guenther@cvs.openbsd.org>2010-09-28 03:53:15 +0000
commit5748e6aa24962647ed31865b3976f89bb472de18 (patch)
tree492d74dda1abe387db92c060e2ea9c113ea35d53 /usr.bin
parentb93e0adfcd7e935651416edab680477908e15a83 (diff)
Correct the handling of GS.base when iretq faults: the fault happens
with CPL == 0 but the user's GS.base, so the normal INTRENTRY handling won't work. Contrawise, the asm that trap() redirects us to when that happens (resume_iret) sees a trapframe showing CPL==3 but it's run with the kernel's GS.base, so INTRENTRY won't work there either. asm style fixes drahn@ and mikeb@ ok kettenis@
Diffstat (limited to 'usr.bin')
0 files changed, 0 insertions, 0 deletions