CVSROOT: /cvs
Module name: src
Changes by: [email protected] 2018/01/08 04:52:14
Modified files:
sys/kern : tty_pty.c
sys/sys : ttycom.h
share/man/man4 : pty.4
Log message:
Translate the TIOCSBRK & TIOCCBRK ioctl(2)s issued on a pty(4) slave to
corresponding user mode ioctls.
If the master part of the pseudo terminal previously enabled TIOCUCNTL,
it will now receive the TIOCUCNTL_{S,C}BRK commands. This allows to
send BREAKS commands over a pty(4) independently of the serial terminal
emulator used.
Guidance and ok nicm@, ok ccardenas@, looks ok to deraadt@