kernel - Bring in dff23c692 from FreeBSD
commitab45738e30546b61592f56b5718d5fbf3e207900
authorMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Mar 2015 22:15:14 +0000 (28 15:15 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Sat, 28 Mar 2015 22:15:14 +0000 (28 15:15 -0700)
treee39651c0a36bf66937980ba4b869f8fa4b3080a4
parent74ceb998af302c8fb9fe0303aa736e3ab66780c8
kernel - Bring in dff23c692 from FreeBSD

Bring in a commit further strengthening iret/%gs handling.  FreeBSD also
made a followup commit that fixes their signal handler for stack faults
which we already effectively implement and did not need.

Original commit message is

    The #ss fault handler erronously does not check for the fault
    originated from the return to usermode. #ss must be handled same as
    #np.
sys/platform/pc64/x86_64/trap.c