Bug 224436 - vt: CONS_CLRHIST (vidcontrol -C) not implemented
Summary: vt: CONS_CLRHIST (vidcontrol -C) not implemented
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: CURRENT
Hardware: Any Any
: --- Affects Only Me
Assignee: freebsd-bugs mailing list
URL:
Keywords: vt
Depends on:
Blocks: 203349 231027
  Show dependency treegraph
 
Reported: 2017-12-18 21:00 UTC by Ed Maste
Modified: 2019-09-16 19:21 UTC (History)
1 user (show)

See Also:
emaste: mfc-stable9-
emaste: mfc-stable10-
emaste: mfc-stable11?


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Maste freebsd_committer 2017-12-18 21:00:39 UTC
Steps to reproduce:
% vidcontrol -C

Expected behaviour:
Scrollback cleared (e.g. confirm with ScrLk / PgUp)

Observed behaviour:
% vidcontrol -C
vidcontrol: clearing history buffer: Inappropriate ioctl for device
Comment 1 Daniel_R 2018-06-07 07:20:49 UTC
This bug is security relevant, because it may disclose the content of a session to somebody without an account but physical access to the machine.  They can see parts of the last session simply by scrolling back in the terminal, even without the need to login.