diff options
author | peter <peter@FreeBSD.org> | 2005-06-30 00:26:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2005-06-30 00:26:54 +0000 |
commit | 24cb92a9d6ad45321e4076e9abf27de9d94be843 (patch) | |
tree | c92b22e99b2fbf61481f551cb5680b0b0c1fc53e /lib/libc/stdlib/ldiv.c | |
parent | 2778435f72bb00f7b707c07e040cc72c341fe5c6 (diff) | |
download | FreeBSD-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