[PATCH 2/2] console: Add ioctl for flushing the scrollback buffer

2016-04-18 Thread Manuel Schölling
Tools like clear_console rely on the fact that scrollback history is flushed when switching back and forth between consoles. Persistent scrollback buffers for each console breaks this, so this patch adds a ioctl() callf for flushing the scrollback history. Signed-off-by: Manuel Schölling

[PATCH 0/2] Persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
re' 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):

[PATCH 0/2] Persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
re' 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):

[PATCH 1/2] console: Add persistent scrollback buffers for all VGA consoles

2016-04-18 Thread Manuel Schölling
history by switching back and forth between consoles which is why this feature is disabled by default. Signed-off-by: Manuel Schölling --- drivers/video/console/Kconfig | 22 +- drivers/video/console/vgacon.c | 172 +++-- 2 files changed, 133 insertions