diff options
| author | 2019-03-11 17:08:52 +0000 | |
|---|---|---|
| committer | 2019-03-11 17:08:52 +0000 | |
| commit | 783667e4e370bbdf88b182e25235fa091c06edcf (patch) | |
| tree | 0c222a4b575193b43f0002a43382fe5c3c15a81b /sys/kern/tty_pty.c | |
| parent | update very outdated korean airport list (but skip the exclusively (diff) | |
| download | wireguard-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
