diff options
author | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-07-04 15:54:25 +0000 |
---|---|---|
committer | Philip Guenthe <guenther@cvs.openbsd.org> | 2011-07-04 15:54:25 +0000 |
commit | 6f3b6d3594db252ac8a61c14b28a0748c186e47e (patch) | |
tree | 416d048f58d761cc0b408348e57309c69a47ffaf /usr.sbin | |
parent | 06bca8dcdc4007afb154cfd8ea27c5eeb21619e2 (diff) |
Force the sigreturn syscall to return to userspace via iretq by setting
the MDP_IRET flag in md_proc, then switch sigcode to enter the kernel
via syscall instead of int$80. Rearrange the return paths in both the
sysretq and iretq paths to reduce how long interrupts are blocked and
shave instructions.
ok kettenis@, extra testing krw@
Diffstat (limited to 'usr.sbin')
0 files changed, 0 insertions, 0 deletions