opnsense-src/sys/dev/syscons
Bruce Evans 40de550ba7 Quick fix for locking fixes in r172250. The lock added there was per-
virtual-device, but needs to be per-physical-device so that it protects
shared data.  Usually, scp->sc->write_in_progress got corrupted first
and further corruption was limited when this variable was left at nonzero
with no write in progress.

Attempt to fix missing lock destruction in r162285.  Put it with the
lock destruction for r172250 after moving the latter.  Both might be
unreachable.

To demonstrate the bug, find a buggy syscall or sysctl that calls
printf(9) and run this often.  Run hd /dev/zero >/dev/ttyvN for any
N != 0.  The console spam goes to ttyv0 and the non-console spam goes
to ttyvN, so the lock provided no protection (but it helped for
N == 0).
2016-08-15 12:56:45 +00:00
..
apm
blank Convert files to UTF-8 2012-01-15 13:23:18 +00:00
daemon Fix sos@'s name. 2015-01-07 21:44:57 +00:00
dragon
fade Convert files to UTF-8 2012-01-15 13:23:18 +00:00
fire
green Convert files to UTF-8 2012-01-15 13:23:18 +00:00
logo Convert files to UTF-8 2012-01-15 13:23:18 +00:00
plasma Replace the cosine table with a sine table, which (due to the vagaries of 2016-01-02 16:40:37 +00:00
rain Convert files to UTF-8 2012-01-15 13:23:18 +00:00
snake Convert files to UTF-8 2012-01-15 13:23:18 +00:00
star Convert files to UTF-8 2012-01-15 13:23:18 +00:00
warp Convert files to UTF-8 2012-01-15 13:23:18 +00:00
scgfbrndr.c
schistory.c Piggyback MIPS changes and add ARM syscons support for devices with 2012-08-25 23:59:31 +00:00
scmouse.c sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
scterm-teken.c Extend libteken to support CJK fullwidth characters. 2013-12-20 21:31:50 +00:00
scterm.c
scvesactl.c
scvgarndr.c sys: Make use of our rounddown() macro when sys/param.h is available. 2016-04-30 14:41:18 +00:00
scvidctl.c Add tty_set_winsize(). 2012-11-03 22:21:37 +00:00
scvtb.c
syscons.c Quick fix for locking fixes in r172250. The lock added there was per- 2016-08-15 12:56:45 +00:00
syscons.h Quick fix for locking fixes in r172250. The lock added there was per- 2016-08-15 12:56:45 +00:00
sysmouse.c Use a common tunable to choose between vt(4)/sc(4) 2014-06-27 17:50:33 +00:00