]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Don't let /dev/console be revoked if the TTY below is being closed.
authorEd Schouten <ed@FreeBSD.org>
Fri, 2 Jan 2009 23:32:43 +0000 (23:32 +0000)
committerEd Schouten <ed@FreeBSD.org>
Fri, 2 Jan 2009 23:32:43 +0000 (23:32 +0000)
commit916501c81c4668173662276f3b19cf43e277ad00
tree4b704e6faa5e9f5a86ed54b5205e41818b2e2cc0
parenta42ea597ff783504f7ccfc7f2049dc85c354ec4a
Don't let /dev/console be revoked if the TTY below is being closed.

During startup some of the syscons TTY's are used to set attributes like
the screensaver and mouse options. These actions cause /dev/console to
be rendered unusable.

Fix the issue by leaving the TTY opened when it is used as the console
device.

Reported by: imp
sys/kern/tty.c