summaryrefslogtreecommitdiffstats
path: root/usr.bin/dig/lib/isc/unix/socket.c
diff options
context:
space:
mode:
authormpi <mpi@openbsd.org>2020-05-08 07:31:46 +0000
committermpi <mpi@openbsd.org>2020-05-08 07:31:46 +0000
commit7bb4371dccb1c23e2d7f9454e6af630cef8dc369 (patch)
tree01e50fb57be03a758371fc2857f3a04a7d045c4f /usr.bin/dig/lib/isc/unix/socket.c
parentfix compilation with DEBUG_KEXDH; bz#3160 ok dtucker@ (diff)
downloadwireguard-openbsd-7bb4371dccb1c23e2d7f9454e6af630cef8dc369.tar.xz
wireguard-openbsd-7bb4371dccb1c23e2d7f9454e6af630cef8dc369.zip
Do not wait indefinitely for flushing when closing a tty.
This prevent exiting processes from hanging when a slave pseudo terminal is close(2)d before its master. From NetBSD via anton@. Reported-by: syzbot+2ed25b5c40d11e4c3beb@syzkaller.appspotmail.com ok anton@, kettenis@
Diffstat (limited to 'usr.bin/dig/lib/isc/unix/socket.c')
0 files changed, 0 insertions, 0 deletions