lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-Id: <1461009405-1738-1-git-send-email-manuel.schoelling@gmx.de>
Date:	Mon, 18 Apr 2016 21:56:43 +0200
From:	Manuel Schölling <manuel.schoelling@....de>
To:	gregkh@...uxfoundation.org
Cc:	jslaby@...e.com, thomas@...ischhofer.net, plagnioj@...osoft.com,
	tomi.valkeinen@...com, jejb@...isc-linux.org, deller@....de,
	manuel.schoelling@....de, sfr@...b.auug.org.au,
	linux-kernel@...r.kernel.org, linux-usb@...r.kernel.org,
	linux-fbdev@...r.kernel.org, linux-parisc@...r.kernel.org
Subject: [PATCH 0/2] Persistent scrollback buffers for all VGA consoles

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

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 adds
a ioctl call for that.
Also this feature is disabled by default and security implications are clearly
stated in its documentation.

Manuel Schölling (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(-)

-- 
2.1.4

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ