Re: xterm -C not working

From: Bruce Evans <bde_at_zeta.org.au>
Date: Sun, 25 Apr 2004 22:55:51 +1000 (EST)
On Sun, 25 Apr 2004, Randy Bush wrote:

> ...
> xtem -C seems not to get console output on the xterm,
> though, if i run in non-X, i do get console messages
> ...
> not sure this is related, but i noticed that the kernel
> config
>    options         UCONSOLE
> is no longer legal (and the handbook on kernel configuration
> forgot to remove it).

This option opened a security hole in the broken TIOCCONS ioctl.
I think xterm -C uses this ioctl.  The security hole was that
everyone was permitted to take over the console.  Now only users
who can open /dev/console for reading can take it over.  The
brokenness is that TIOCCONS causes panics.  It apparently never
worked, but it causes panics more reliably now because the bad
things that it does are detected by locking assertions.

Bruce
Received on Sun Apr 25 2004 - 03:55:58 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:52 UTC