summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/ldiv.c
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2005-06-30 00:26:54 +0000
committerpeter <peter@FreeBSD.org>2005-06-30 00:26:54 +0000
commit24cb92a9d6ad45321e4076e9abf27de9d94be843 (patch)
treec92b22e99b2fbf61481f551cb5680b0b0c1fc53e /lib/libc/stdlib/ldiv.c
parent2778435f72bb00f7b707c07e040cc72c341fe5c6 (diff)
downloadFreeBSD-src-24cb92a9d6ad45321e4076e9abf27de9d94be843.zip
FreeBSD-src-24cb92a9d6ad45321e4076e9abf27de9d94be843.tar.gz
Add a special-case handler for general protection faults. It appears to
be possible to get the swapgs state reversed if doreti traps during the iretq. Attempt to handle this. load_gs() might need special handling too. Running the kernel with the user's TLS and the kernel's PCPU space interchanged would be bad(TM). Discovered as a result of a conversation with: bde Approved by: re
Diffstat (limited to 'lib/libc/stdlib/ldiv.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud