summaryrefslogtreecommitdiffstats
path: root/sys/netinet/ipsec_input.c
diff options
context:
space:
mode:
authormickey <mickey@openbsd.org>2003-05-02 21:07:47 +0000
committermickey <mickey@openbsd.org>2003-05-02 21:07:47 +0000
commitcdee7ac452e4209d3135b7980fc9ef496d9f53f5 (patch)
treec1dddd32d4cc3d9e7f6b9e84e9aa0e087d61bcea /sys/netinet/ipsec_input.c
parentZap unused STRIP_TRAILING_SLASH macro. (diff)
downloadwireguard-openbsd-cdee7ac452e4209d3135b7980fc9ef496d9f53f5.tar.xz
wireguard-openbsd-cdee7ac452e4209d3135b7980fc9ef496d9f53f5.zip
when flipping the code descriptors also update cs in the
tss and not only in the frame since we might be returning that way too. add a heuristic for detecting an exec protection fault: iff we get a read protection fault (which we normally never get due to our segments being always readable) we assume that it was an exec protection indeed and go to page fault routine which will decide the rest for us (including sending a signal should that be needed). problem found by drahn@ and testing by many ppl.
Diffstat (limited to 'sys/netinet/ipsec_input.c')
0 files changed, 0 insertions, 0 deletions