--- - branch: MAIN date: Fri Feb 15 18:57:15 UTC 2019 files: - new: '1.145' old: '1.144' path: src/sys/kern/tty_pty.c pathrev: src/sys/kern/tty_pty.c@1.145 type: modified - new: '1.3' old: '1.2' path: src/tests/kernel/kqueue/read/t_ttypty.c pathrev: src/tests/kernel/kqueue/read/t_ttypty.c@1.3 type: modified id: 20190215T185715Z.fe66e4d3fa0fc7b9682cce1e246366d6259f6bee log: | Fix reporting EOF via kevent and add a test case Fix the kernel pty driver to report closed slave via master's kevent EVFILT_READ. This behavior matches the behavior for pipes, is consistent with how FreeBSD implements it and is relied upon by LLDB's main loop implementation. Includes feedback by kre and kamil (from tech-kern), commit approved by kamil. module: src subject: 'CVS commit: src' unixtime: '1550257035' user: mgorny