mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [2.2]drivers/char/console.c: check if caller is proprietary of the current console
@ 2005-03-29 18:24 colbuse
  0 siblings, 0 replies; only message in thread
From: colbuse @ 2005-03-29 18:24 UTC (permalink / raw)
  To: linux-kernel


This patch adds a verification that the calling process is writing to the
current console, in the DEC alignment screen test.

Signed-off-by: Emmanuel Colbus <emmanuel.colbus@ensimag.imag.fr>
  
---

This patch was already sent on:
- 04 Jan 2005

--- old/drivers/char/console.c Mon Sep 16 18:26:11 2002
+++ patched/drivers/char/console.c Tue Jan 4 09:54:58 2005
@@ -1742,7 +1742,7 @@
			csi_J(currcons, 2);
			video_erase_char =
				(video_erase_char & 0xff00) | ' ';
-			do_update_region(currcons, origin, screenbuf_size/2);
+			update_region(currcons, origin, screenbuf_size/2);
		}
		return;
	case ESsetG0:


  
--
Emmanuel Colbus
Club Gnu/LInux
ENSIMAG - Departement telecoms

-------------------------------------------------
envoyé via Webmail/IMAG !


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-03-29 18:24 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-29 18:24 [2.2]drivers/char/console.c: check if caller is proprietary of the current console colbuse

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®