Now
MAIN commitmail json YAML
src/sys/kern/tty_pty.c@1.145
/
diff
/
nxr@1.145
src/tests/kernel/kqueue/read/t_ttypty.c@1.3 / diff / nxr@1.3
src/tests/kernel/kqueue/read/t_ttypty.c@1.3 / diff / nxr@1.3
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.
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.