summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-paste-buffer.c
diff options
context:
space:
mode:
authorkettenis <kettenis@openbsd.org>2010-12-30 15:10:54 +0000
committerkettenis <kettenis@openbsd.org>2010-12-30 15:10:54 +0000
commita5835e2e238b6bb68b144f460cb611e197973a09 (patch)
tree455b7e9fbe659de0401c31534647ff7b1d71d19c /usr.bin/tmux/cmd-paste-buffer.c
parentPrior to loading the FPU context onto the current CPU, check to see if the (diff)
downloadwireguard-openbsd-a5835e2e238b6bb68b144f460cb611e197973a09.tar.xz
wireguard-openbsd-a5835e2e238b6bb68b144f460cb611e197973a09.zip
Since we save the interrupt mask in the trapframe when we get a trap, we
might restore the wrong mask when we switch CPUs. Since we should be running with the proper mask when we enter $syscall_return, simply save the proper mask into the trapframe such that we restore the right interrupt mask later on. tested by jsing@
Diffstat (limited to 'usr.bin/tmux/cmd-paste-buffer.c')
0 files changed, 0 insertions, 0 deletions