summaryrefslogtreecommitdiffstats
path: root/sys/kern/tty_pty.c
diff options
context:
space:
mode:
authoranton <anton@openbsd.org>2019-03-11 17:08:52 +0000
committeranton <anton@openbsd.org>2019-03-11 17:08:52 +0000
commit783667e4e370bbdf88b182e25235fa091c06edcf (patch)
tree0c222a4b575193b43f0002a43382fe5c3c15a81b /sys/kern/tty_pty.c
parentupdate very outdated korean airport list (but skip the exclusively (diff)
downloadwireguard-openbsd-783667e4e370bbdf88b182e25235fa091c06edcf.tar.xz
wireguard-openbsd-783667e4e370bbdf88b182e25235fa091c06edcf.zip
Do not unconditionally wait for read events on the pty associated with a
vm console. Instead, wait for the controlling end of the pty to become writeable, which implies that the slave end is connected. A recent change to the kqueue pty implementation caused vmd to hammer the log due to constantly hitting EOF while reading from the pty since the slave end was disconnected. Issue found the hard way by mlarkin@ and tb@ ok mlarkin@
Diffstat (limited to 'sys/kern/tty_pty.c')
0 files changed, 0 insertions, 0 deletions