1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/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
daemon Don't malloc a buffer while holding the prison0 mutex. Instead, use a loop 2009-09-10 12:58:37 +00:00
dragon
fade
fire
green
logo
rain
snake
star
warp
scgfbrndr.c
schistory.c
scmouse.c
scterm-teken.c Expose the TF_REVERSE flag to the console driver. 2009-09-03 16:31:11 +00:00
scterm.c
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