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 APM was calling the suspend process from a timeout. This meant that 2006-05-25 23:06:38 +00:00
blank
daemon
dragon
fade
fire
green
logo
rain
snake
star
warp
scgfbrndr.c
schistory.c
scmouse.c Introduce a spinlock for synchronizing access to the video output hardware 2006-09-13 15:48:15 +00:00
scterm-dumb.c
scterm-sc.c
scterm.c
sctermvar.h
scvesactl.c Send the pcvt(4) driver off to retirement. 2006-05-17 09:33:15 +00:00
scvgarndr.c
scvidctl.c Fix our ioctl(2) implementation when the argument is "int". New 2006-09-27 19:57:02 +00:00
scvtb.c
syscons.c Sometimes the vty switching has to be delayed; the vty 2006-11-06 19:06:07 +00:00
syscons.h Introduce a spinlock for synchronizing access to the video output hardware 2006-09-13 15:48:15 +00:00
sysmouse.c Sweep kernel replacing suser(9) calls with priv(9) calls, assigning 2006-11-06 13:42:10 +00:00