summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-04-19 13:56:11 -0400
committerEric Paris <eparis@redhat.com>2013-04-30 15:31:28 -0400
commit152f497b9b5940f81de3205465840a5eb316458e (patch)
treefb226da0e460bb912350478cbbb87b24a6343d31 /kernel/audit.c
parentdc9eb698f441889f2d7926b1cc6f1e14f0787f00 (diff)
downloadlinux-152f497b9b5940f81de3205465840a5eb316458e.tar.bz2
audit: push loginuid and sessionid processing down
Since we are always current, we can push a lot of this stuff to the bottom and get rid of useless interfaces and arguments. Signed-off-by: Eric Paris <eparis@redhat.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index bf1e1330cbb1..79b42fd14c22 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -727,7 +727,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
if (err == 1) {
err = 0;
if (msg_type == AUDIT_USER_TTY) {
- err = tty_audit_push_task(current);
+ err = tty_audit_push_current();
if (err)
break;
}