linux-parisc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/2] Persistent scrollback buffers for all VGA consoles
@ 2016-04-18 19:56 Manuel Schölling
  2016-04-18 19:56 ` [PATCH 1/2] console: Add persistent " Manuel Schölling
                   ` (2 more replies)
  0 siblings, 3 replies; 6+ messages in thread
From: Manuel Schölling @ 2016-04-18 19:56 UTC (permalink / raw)
  To: gregkh
  Cc: jslaby, thomas, plagnioj, tomi.valkeinen, jejb, deller,
	manuel.schoelling, sfr, linux-kernel, linux-usb, linux-fbdev,
	linux-parisc

Another attempt to add persistent scrollback buffers for all VGA consol=
es,
so the buffer is not flushed when swithing back and forth between conso=
les.

Note that breaks tools like bash's clear_console and thus might have
security implications:
clear_console relies on this 'anti-feature' of the kernel to clear the =
buffer
when consoles are switched.

To offer a way for userland tools to flush the buffer my second patch a=
dds
a ioctl call for that.
Also this feature is disabled by default and security implications are =
clearly
stated in its documentation.

Manuel Sch=C3=B6lling (2):
  console: Add persistent scrollback buffers for all VGA consoles
  console: Add ioctl for flushing the scrollback buffer

 drivers/tty/vt/vt_ioctl.c               |  20 ++++
 drivers/usb/misc/sisusbvga/sisusb_con.c |   1 +
 drivers/video/console/Kconfig           |  22 +++-
 drivers/video/console/dummycon.c        |   1 +
 drivers/video/console/mdacon.c          |   6 +
 drivers/video/console/newport_con.c     |   1 +
 drivers/video/console/sticon.c          |   7 ++
 drivers/video/console/vgacon.c          | 195 ++++++++++++++++++++++--=
--------
 include/linux/console.h                 |   1 +
 include/uapi/linux/vt.h                 |   1 +
 10 files changed, 194 insertions(+), 61 deletions(-)

--=20
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [PATCH 0/2] Persistent scrollback buffers for all VGA consoles
@ 2016-04-18 19:56 Manuel Schölling
  0 siblings, 0 replies; 6+ messages in thread
From: Manuel Schölling @ 2016-04-18 19:56 UTC (permalink / raw)
  To: gregkh
  Cc: jslaby, thomas, plagnioj, tomi.valkeinen, jejb, deller,
	manuel.schoelling, sfr, linux-kernel, linux-usb, linux-fbdev,
	linux-parisc

Another attempt to add persistent scrollback buffers for all VGA consol=
es,
so the buffer is not flushed when swithing back and forth between conso=
les.

Note that breaks tools like bash's clear_console and thus might have
security implications:
clear_console relies on this 'anti-feature' of the kernel to clear the =
buffer
when consoles are switched.

To offer a way for userland tools to flush the buffer my second patch a=
dds
a ioctl call for that.
Also this feature is disabled by default and security implications are =
clearly
stated in its documentation.

Manuel Sch=C3=B6lling (2):
  console: Add persistent scrollback buffers for all VGA consoles
  console: Add ioctl for flushing the scrollback buffer

 drivers/tty/vt/vt_ioctl.c               |  20 ++++
 drivers/usb/misc/sisusbvga/sisusb_con.c |   1 +
 drivers/video/console/Kconfig           |  22 +++-
 drivers/video/console/dummycon.c        |   1 +
 drivers/video/console/mdacon.c          |   6 +
 drivers/video/console/newport_con.c     |   1 +
 drivers/video/console/sticon.c          |   7 ++
 drivers/video/console/vgacon.c          | 195 ++++++++++++++++++++++--=
--------
 include/linux/console.h                 |   1 +
 include/uapi/linux/vt.h                 |   1 +
 10 files changed, 194 insertions(+), 61 deletions(-)

--=20
2.1.4

--
To unsubscribe from this list: send the line "unsubscribe linux-parisc"=
 in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2016-04-18 20:38 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 19:56 [PATCH 0/2] Persistent scrollback buffers for all VGA consoles Manuel Schölling
2016-04-18 19:56 ` [PATCH 1/2] console: Add persistent " Manuel Schölling
2016-04-18 19:56 ` [PATCH 2/2] console: Add ioctl for flushing the scrollback buffer Manuel Schölling
     [not found]   ` <1461009418-1795-3-git-send-email-manuel.schoelling-Mmb7MZpHnFY@public.gmane.org>
2016-04-18 20:16     ` kbuild test robot
     [not found] ` <1461009418-1795-1-git-send-email-manuel.schoelling-Mmb7MZpHnFY@public.gmane.org>
2016-04-18 20:38   ` [PATCH 0/2] Persistent scrollback buffers for all VGA consoles Jakub Wilk
  -- strict thread matches above, loose matches on Subject: below --
2016-04-18 19:56 Manuel Schölling

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).