]> git.neil.brown.name Git - history.git/commit
[PATCH] con_font_copy sanitized
authorAlexander Viro <viro@www.linux.org.uk>
Thu, 29 Jul 2004 15:47:43 +0000 (08:47 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Thu, 29 Jul 2004 15:47:43 +0000 (08:47 -0700)
commit5e19073981761189aad55e0d11490ed7fe1fbad1
treec9d763d8d22801c6f3d2481f44789a7d4cdc6c67
parentbd048df6f4e1e6da6246041e6d46b3448b66a2ef
[PATCH] con_font_copy sanitized

->con_font_copy() sanitized.  We extract the number of console to copy the
font from in the caller (it's taken from the field of console_font_op that
is normally used for font height - messy even for an ioctl, but that animal
used to be passed all the way down into console drivers).

With decoding done in con_font_copy(), we simply pass source console number
into the method.

Signed-off-by: Al Viro <viro@parcelfarce.linux.org.uk>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/char/vt.c
drivers/video/console/fbcon.c
include/linux/console.h