diff options
author | 2010-09-28 03:53:14 +0000 | |
---|---|---|
committer | 2010-09-28 03:53:14 +0000 | |
commit | c68533124e01513c257f420f85e6bf2d72d9824c (patch) | |
tree | 5f7102cb7a4f70167dee3eda1d221ef0d4ae5bcf /lib/libssl/src | |
parent | sync (diff) | |
download | wireguard-openbsd-c68533124e01513c257f420f85e6bf2d72d9824c.tar.xz wireguard-openbsd-c68533124e01513c257f420f85e6bf2d72d9824c.zip |
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 'lib/libssl/src')
0 files changed, 0 insertions, 0 deletions