diff options
author | Al Viro <viro@ZenIV.linux.org.uk> | 2008-12-09 10:23:33 +0100 |
---|---|---|
committer | James Morris <jmorris@namei.org> | 2008-12-09 10:32:06 +0100 |
commit | 1e641743f055f075ed9a4edd75f1fb1e05669ddc (patch) | |
tree | 8016113a4965a344415e8bd6366f07c23eee7d5f /security | |
parent | user namespaces: document CFS behavior (diff) | |
download | linux-1e641743f055f075ed9a4edd75f1fb1e05669ddc.tar.xz linux-1e641743f055f075ed9a4edd75f1fb1e05669ddc.zip |
Audit: Log TIOCSTI
AUDIT_TTY records currently log all data read by processes marked for
TTY input auditing, even if the data was "pushed back" using the TIOCSTI
ioctl, not typed by the user.
This patch records all TIOCSTI calls to disambiguate the input. It
generates one audit message per character pushed back; considering
TIOCSTI is used very rarely, this simple solution is probably good
enough. (The only program I could find that uses TIOCSTI is mailx/nail
in "header editing" mode, e.g. using the ~h escape. mailx is used very
rarely, and the escapes are used even rarer.)
Signed-Off-By: Miloslav Trmac <mitr@redhat.com>
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: James Morris <jmorris@namei.org>
Diffstat (limited to 'security')
0 files changed, 0 insertions, 0 deletions