Re: tty(4): mention TIOCSTAT

2017-06-28 Thread Anton Lindqvist
On Wed, Jun 28, 2017 at 03:41:29PM -0600, Todd C. Miller wrote: > On Wed, 28 Jun 2017 15:35:36 -0600, "Theo de Raadt" wrote: > > > Nope. It requires a parameter. lukem messed this up two decades ago, > > he should have used _IO but used the wrong one. > > Ah right, I missed that it is _IOW. OK

Re: tty(4): mention TIOCSTAT

2017-06-28 Thread Theo de Raadt
>> Nope. It requires a parameter. lukem messed this up two decades ago, >> he should have used _IO but used the wrong one. > >Ah right, I missed that it is _IOW. OK millert@ as-is then. Two weeks ago, it took 2 hours for me to notice it. Annoying.

Re: tty(4): mention TIOCSTAT

2017-06-28 Thread Todd C. Miller
On Wed, 28 Jun 2017 15:35:36 -0600, "Theo de Raadt" wrote: > Nope. It requires a parameter. lukem messed this up two decades ago, > he should have used _IO but used the wrong one. Ah right, I missed that it is _IOW. OK millert@ as-is then. - todd

Re: tty(4): mention TIOCSTAT

2017-06-28 Thread Theo de Raadt
> On Wed, 28 Jun 2017 22:48:47 +0200, Anton Lindqvist wrote: > > > A first stab at documenting the TIOCSTAT ioctl. The paragraph is taken > > from termios(4) as is and could might be reworked. The parameter is as > > stated unused but consistent with the definition of TIOCSTAT in > > sys/sys/ttyco

Re: tty(4): mention TIOCSTAT

2017-06-28 Thread Todd C. Miller
On Wed, 28 Jun 2017 22:48:47 +0200, Anton Lindqvist wrote: > A first stab at documenting the TIOCSTAT ioctl. The paragraph is taken > from termios(4) as is and could might be reworked. The parameter is as > stated unused but consistent with the definition of TIOCSTAT in > sys/sys/ttycom.h. I thin

tty(4): mention TIOCSTAT

2017-06-28 Thread Anton Lindqvist
Hi, A first stab at documenting the TIOCSTAT ioctl. The paragraph is taken from termios(4) as is and could might be reworked. The parameter is as stated unused but consistent with the definition of TIOCSTAT in sys/sys/ttycom.h. Comments? OK? Index: tty.4 ==