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
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):
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):
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