summaryrefslogtreecommitdiffstats
path: root/lib/libssl/ssl_lib.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2020-07-14 14:33:03 +0000
committerderaadt <deraadt@openbsd.org>2020-07-14 14:33:03 +0000
commit8bdc3b628e1c1262385a1eb878e26a24a3bb929b (patch)
tree74f1a3901057a4f1577db5e2109b197600c1ce12 /lib/libssl/ssl_lib.c
parentreduce the diff to linux in local versions of functions (diff)
downloadwireguard-openbsd-8bdc3b628e1c1262385a1eb878e26a24a3bb929b.tar.xz
wireguard-openbsd-8bdc3b628e1c1262385a1eb878e26a24a3bb929b.zip
A pty write containing VDISCARD, VREPRINT, or various retyping cases of
VERASE would perform (sometimes irrelevant) compute in the kernel which can be heavy (especially with our insufficient tty subsystem locking). Use tsleep_nsec for 1 tick in such circumstances to yield cpu, and also bring interruptability to ptcwrite() https://syzkaller.appspot.com/bug?extid=462539bc18fef8fc26cc ok kettenis millert, discussions with greg and anton
Diffstat (limited to 'lib/libssl/ssl_lib.c')
0 files changed, 0 insertions, 0 deletions