summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/cmd-load-buffer.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2015-06-05 16:59:10 +0000
committerderaadt <deraadt@openbsd.org>2015-06-05 16:59:10 +0000
commit7dff4b537a3bfc9e1b67b40aab296bb2f2db377e (patch)
treeeb7c26bfe9132bfea0b24aeeaad0a89d5fe0ae14 /usr.bin/tmux/cmd-load-buffer.c
parentthese days, curproc is never NULL, so skip those checks. (diff)
downloadwireguard-openbsd-7dff4b537a3bfc9e1b67b40aab296bb2f2db377e.tar.xz
wireguard-openbsd-7dff4b537a3bfc9e1b67b40aab296bb2f2db377e.zip
Do not unconditionally clear pcb_onfault after a uvm_fault. That will
permit the active copyout/copyin to continue work on subsequent faulting pages and not misinterpret & fault them as kernel bcopy against userland addresses. Old bug -- fall of 1996. This should fix getentropy issues on MP systems which have become more apparent recently, probably due to some combo of increased ASLR with unlocked getentropy happening very soon after vfork/fork... ok miod
Diffstat (limited to 'usr.bin/tmux/cmd-load-buffer.c')
0 files changed, 0 insertions, 0 deletions