OpenBSD cvs log

created 2019-05-09T09:54:41Z
begin 2018-01-08T09:00:00Z
end 2018-01-08T12:00:00Z
path src/sys
commits 2

date 2018-01-08T11:52:14Z
author mpi
files src/sys/kern/tty_pty.c log diff annotate
src/sys/sys/ttycom.h log diff annotate
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@

date 2018-01-08T11:54:28Z
author mpi
files src/sys/kern/kern_pledge.c log diff annotate
message Allow TIOCUCNTL issued on a pty(4) master in promise "tty".

This will be soon be used to emulate BREAK commands in vmd(8).

ok nicm@, ccardenas@, deraadt@