summaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
authorEric W. Biederman2012-09-11 09:19:06 +0200
committerEric W. Biederman2012-09-18 03:07:07 +0200
commit017143fecb3364e5fed8107d206799899f5dd684 (patch)
treeb0dcb667e86fb479a0f03e1489144507fe4bda26 /kernel/audit.c
parentaudit: Properly set the origin port id of audit messages. (diff)
downloadkernel-qcow2-linux-017143fecb3364e5fed8107d206799899f5dd684.tar.gz
kernel-qcow2-linux-017143fecb3364e5fed8107d206799899f5dd684.tar.xz
kernel-qcow2-linux-017143fecb3364e5fed8107d206799899f5dd684.zip
audit: Remove the unused uid parameter from audit_receive_filter
Cc: Al Viro <viro@zeniv.linux.org.uk> Cc: Eric Paris <eparis@redhat.com> Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
Diffstat (limited to 'kernel/audit.c')
-rw-r--r--kernel/audit.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/audit.c b/kernel/audit.c
index 9dd4d0936969..a31e31bba2d3 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -771,7 +771,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
/* fallthrough */
case AUDIT_LIST:
err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid,
- uid, seq, data, nlmsg_len(nlh),
+ seq, data, nlmsg_len(nlh),
loginuid, sessionid, sid);
break;
case AUDIT_ADD_RULE:
@@ -790,7 +790,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
/* fallthrough */
case AUDIT_LIST_RULES:
err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid,
- uid, seq, data, nlmsg_len(nlh),
+ seq, data, nlmsg_len(nlh),
loginuid, sessionid, sid);
break;
case AUDIT_TRIM: