diff options
-rw-r--r-- | include/linux/audit.h | 2 | ||||
-rw-r--r-- | kernel/audit.c | 4 | ||||
-rw-r--r-- | kernel/auditfilter.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/include/linux/audit.h b/include/linux/audit.h index 9c9af0e95f93..b9c5b22e34a5 100644 --- a/include/linux/audit.h +++ b/include/linux/audit.h | |||
@@ -702,7 +702,7 @@ extern int audit_update_lsm_rules(void); | |||
702 | /* Private API (for audit.c only) */ | 702 | /* Private API (for audit.c only) */ |
703 | extern int audit_filter_user(void); | 703 | extern int audit_filter_user(void); |
704 | extern int audit_filter_type(int type); | 704 | extern int audit_filter_type(int type); |
705 | extern int audit_receive_filter(int type, int pid, int uid, int seq, | 705 | extern int audit_receive_filter(int type, int pid, int seq, |
706 | void *data, size_t datasz, uid_t loginuid, | 706 | void *data, size_t datasz, uid_t loginuid, |
707 | u32 sessionid, u32 sid); | 707 | u32 sessionid, u32 sid); |
708 | extern int audit_enabled; | 708 | extern int audit_enabled; |
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: |
diff --git a/kernel/auditfilter.c b/kernel/auditfilter.c index b754f43bc56c..e242dd9aa2d0 100644 --- a/kernel/auditfilter.c +++ b/kernel/auditfilter.c | |||
@@ -1098,7 +1098,7 @@ static void audit_log_rule_change(uid_t loginuid, u32 sessionid, u32 sid, | |||
1098 | * @sessionid: sessionid for netlink audit message | 1098 | * @sessionid: sessionid for netlink audit message |
1099 | * @sid: SE Linux Security ID of sender | 1099 | * @sid: SE Linux Security ID of sender |
1100 | */ | 1100 | */ |
1101 | int audit_receive_filter(int type, int pid, int uid, int seq, void *data, | 1101 | int audit_receive_filter(int type, int pid, int seq, void *data, |
1102 | size_t datasz, uid_t loginuid, u32 sessionid, u32 sid) | 1102 | size_t datasz, uid_t loginuid, u32 sessionid, u32 sid) |
1103 | { | 1103 | { |
1104 | struct task_struct *tsk; | 1104 | struct task_struct *tsk; |