aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorGreg KH <[email protected]>2018-10-04 11:06:14 -0700
committerGreg Kroah-Hartman <[email protected]>2018-10-11 19:50:00 +0200
commitb97b3d9fb57860a60592859e332de7759fd54c2e (patch)
tree79b21a2681fb9fee48b022d6072aa6500cf3de7d /tools/perf/scripts/python/export-to-postgresql.py
parentc9a8e5fce009e3c601a43c49ea9dbcb25d1ffac5 (diff)
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 <[email protected]> Tested-by: Milan Broz <[email protected]> Tested-by: Daniel Zatovic <[email protected]> Tested-by: aszlig <[email protected]> Cc: Willy Tarreau <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions