diff options
author | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-11 03:19:06 -0400 |
---|---|---|
committer | Eric W. Biederman <ebiederm@xmission.com> | 2012-09-17 21:07:07 -0400 |
commit | 017143fecb3364e5fed8107d206799899f5dd684 (patch) | |
tree | b0dcb667e86fb479a0f03e1489144507fe4bda26 /kernel/audit.c | |
parent | 35ce9888ad2a60c95849551e7345bd547714bbff (diff) |
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.c | 4 |
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) | |||
771 | /* fallthrough */ | 771 | /* fallthrough */ |
772 | case AUDIT_LIST: | 772 | case AUDIT_LIST: |
773 | err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, | 773 | err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, |
774 | uid, seq, data, nlmsg_len(nlh), | 774 | seq, data, nlmsg_len(nlh), |
775 | loginuid, sessionid, sid); | 775 | loginuid, sessionid, sid); |
776 | break; | 776 | break; |
777 | case AUDIT_ADD_RULE: | 777 | case AUDIT_ADD_RULE: |
@@ -790,7 +790,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh) | |||
790 | /* fallthrough */ | 790 | /* fallthrough */ |
791 | case AUDIT_LIST_RULES: | 791 | case AUDIT_LIST_RULES: |
792 | err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, | 792 | err = audit_receive_filter(msg_type, NETLINK_CB(skb).pid, |
793 | uid, seq, data, nlmsg_len(nlh), | 793 | seq, data, nlmsg_len(nlh), |
794 | loginuid, sessionid, sid); | 794 | loginuid, sessionid, sid); |
795 | break; | 795 | break; |
796 | case AUDIT_TRIM: | 796 | case AUDIT_TRIM: |