Date: Thu, 06 Jan 2011 19:15:35 -0800 From: Craig Leres <leres@ee.lbl.gov> To: freebsd-hackers@freebsd.org Subject: xterm -C and TIOCCONS vs. PRIV_TTY_CONSOLE Message-ID: <4D268557.2090704@ee.lbl.gov>
next in thread | raw e-mail | index | archive | help
I recently upgraded my desktop from 7.2-RELEASE to 8.1-RELEASE and noticed that I no longer get biff messages in my "console" xterm window. I traced this to: xterm: cannot open console: Operation not permitted and see that the TIOCCONS code in tty_generic_ioctl() is checking for PRIV_TTY_CONSOLE. So far so good. But I don't *any* code that ever grants PRIV_TTY_CONSOLE! As far as I can tell it's now totally impossible to ever set a terminal as a console TTY (even for root). This ioctl has been effectively disabled. Shouldn't PRIV_TTY_CONSOLE be granted when a user logs onto /dev/ttyvX? Craig
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4D268557.2090704>