freebsd-dev/sys/dev/syscons
Dima Dorfman 83d94cdf69 In the VIRTUAL_TTY macro, add a check to make sure that the result of
SC_DEV isn't NULL; if it is, evaluate to NULL and don't dereference
NULL.  Callers of VIRTUAL_TTY must already check for the result being
NULL since si_tty can be NULL, so this should be safe.

This fixes a panic when trying to switch to a different vty in an
environment such as userconfig (-c option to the kernel).

PR:		26508
2001-05-27 00:57:25 +00:00
..
apm
blank
daemon
fade
fire
green
logo
rain
snake
star
warp
scgfbrndr.c
schistory.c Add a CONS_CLRHIST ioctl which instructs syscons to clear the history 2001-05-27 00:45:59 +00:00
scmouse.c Undo part of the tangle of having sys/lock.h and sys/mutex.h included in 2001-05-01 08:13:21 +00:00
scterm-dumb.c
scterm-sc.c Indent the comment about the Alpha palette evilness correctly. 2001-03-06 20:36:06 +00:00
scterm.c
sctermvar.h
scvesactl.c
scvgarndr.c
scvidctl.c
scvtb.c
syscons.c In the VIRTUAL_TTY macro, add a check to make sure that the result of 2001-05-27 00:57:25 +00:00
syscons.h Implement keyboard paste 2001-03-11 22:51:05 +00:00
sysmouse.c Send the remains (such as I have located) of "block major numbers" to 2001-03-26 12:41:29 +00:00