diff options
author | Peter Hurley <peter@hurleysoftware.com> | 2016-01-10 07:55:31 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-01-28 01:41:04 +0100 |
commit | 37282a77954aa2dbb339d15902290f25b868d2e8 (patch) | |
tree | c4c04eac2ad8c45f3b56f4ef4615d4aec5ec1cb9 /kernel/audit.c | |
parent | tty: audit: Ignore current association for audit push (diff) | |
download | linux-37282a77954aa2dbb339d15902290f25b868d2e8.tar.xz linux-37282a77954aa2dbb339d15902290f25b868d2e8.zip |
tty: audit: Combine push functions
tty_audit_push() and tty_audit_push_current() perform identical
tasks; eliminate the tty_audit_push() implementation and the
tty_audit_push_current() name.
Signed-off-by: Peter Hurley <peter@hurleysoftware.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r-- | kernel/audit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c index 3a3e5deeda8d..610f221df069 100644 --- a/kernel/audit.c +++ b/kernel/audit.c @@ -920,7 +920,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) if (err == 1) { /* match or error */ err = 0; if (msg_type == AUDIT_USER_TTY) { - err = tty_audit_push_current(); + err = tty_audit_push(); if (err) break; } |