diff options
author | Greg KH <greg@kroah.com> | 2018-10-04 20:06:14 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2018-10-11 19:50:00 +0200 |
commit | b97b3d9fb57860a60592859e332de7759fd54c2e (patch) | |
tree | 79b21a2681fb9fee48b022d6072aa6500cf3de7d /Documentation/devicetree/bindings/serial | |
parent | tty: wipe buffer. (diff) | |
download | linux-b97b3d9fb57860a60592859e332de7759fd54c2e.tar.xz linux-b97b3d9fb57860a60592859e332de7759fd54c2e.zip |
tty: wipe buffer if not echoing data
If we are not echoing the data to userspace or the console is in icanon
mode, then perhaps it is a "secret" so we should wipe it once we are
done with it.
This mirrors the logic that the audit code has.
Reported-by: aszlig <aszlig@nix.build>
Tested-by: Milan Broz <gmazyland@gmail.com>
Tested-by: Daniel Zatovic <daniel.zatovic@gmail.com>
Tested-by: aszlig <aszlig@nix.build>
Cc: Willy Tarreau <w@1wt.eu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'Documentation/devicetree/bindings/serial')
0 files changed, 0 insertions, 0 deletions