diff options
-rw-r--r-- | drivers/tty/tty_audit.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/tty/tty_audit.c b/drivers/tty/tty_audit.c index 66d53fcf4da0..df2d735338e2 100644 --- a/drivers/tty/tty_audit.c +++ b/drivers/tty/tty_audit.c @@ -144,14 +144,8 @@ void tty_audit_tiocsti(struct tty_struct *tty, char ch) if (tty_audit_push()) return; - if (audit_enabled) { - kuid_t auid; - unsigned int sessionid; - - auid = audit_get_loginuid(current); - sessionid = audit_get_sessionid(current); + if (audit_enabled) tty_audit_log("ioctl=TIOCSTI", dev, &ch, 1); - } } /** |