freebsd-dev/sys/dev/syscons
Ruslan Ermilov 4f32adad48 Sometimes the vty switching has to be delayed; the vty
to be switched to is saved in sc->delayed_next_scr and
the actual switch is performed later.  It was possible
to get into the endless loop when attempting to switch
to a closed vty (which is not allowed and beep-alerted
when attempted) and when the visual beep was in effect.
This caused sc->delayed_next_scr to never be reset and
endless attempts to switch to a closed vty and endless
visual beeping.  How to repeat:

- boot into single-user
- run "kbdcontrol -b visual"
- quickly press Alt+F2 two times

PR:		kern/68016
X-MFC after:	6.2-RELEASE
2006-11-06 19:06:07 +00:00
..
apm
blank
daemon
dragon
fade
fire
green
logo
rain
snake
star
warp
scgfbrndr.c
schistory.c
scmouse.c
scterm-dumb.c
scterm-sc.c
scterm.c
sctermvar.h
scvesactl.c
scvgarndr.c
scvidctl.c
scvtb.c
syscons.c
syscons.h
sysmouse.c