freebsd-nq/sys/dev/syscons
John Baldwin 9425bee7a0 Don't malloc a buffer while holding the prison0 mutex. Instead, use a loop
where we figure out the hostname length under the lock, malloc the buffer
with the lock dropped, then recheck the length under the lock and loop again
if the buffer is now too small.

Tested by:	Norbert Koch  nkoch  demig de
MFC after:	3 days
2009-09-10 12:58:37 +00:00
..
apm
blank Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
daemon Don't malloc a buffer while holding the prison0 mutex. Instead, use a loop 2009-09-10 12:58:37 +00:00
dragon Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fade Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
fire Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
green Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
logo Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
rain Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
snake Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
star Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
warp Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
scgfbrndr.c Replace explicit calls to video methods with their respective variants 2007-12-29 23:26:59 +00:00
schistory.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scmouse.c Integrate the new MPSAFE TTY layer to the FreeBSD operating system. 2008-08-20 08:31:58 +00:00
scterm-teken.c Expose the TF_REVERSE flag to the console driver. 2009-09-03 16:31:11 +00:00
scterm.c Replace syscons terminal renderer by a new renderer that uses libteken. 2009-01-01 13:26:53 +00:00
scvesactl.c - Teach vesa(4) and dpms(4) about x86emu. [1] 2009-09-09 09:50:31 +00:00
scvgarndr.c Fix VESA modes and allow 8bit depth modes. 2009-08-24 22:35:53 +00:00
scvidctl.c Fix VESA modes and allow 8bit depth modes. 2009-08-24 22:35:53 +00:00
scvtb.c
syscons.c Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00
syscons.h Make a 1:1 mapping between syscons stats and terminal emulators. 2009-03-10 11:28:54 +00:00
sysmouse.c Last minute TTY API change: remove mutex argument from tty_alloc(). 2009-05-29 06:41:23 +00:00