aboutsummaryrefslogtreecommitdiffstats
path: root/kernel/audit.c
diff options
context:
space:
mode:
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 9af947a63ed1..6f1784dd80af 100644
--- a/kernel/audit.c
+++ b/kernel/audit.c
@@ -434,7 +434,7 @@ static int audit_receive_msg(struct sk_buff *skb, struct nlmsghdr *nlh)
434 if (!audit_enabled && msg_type != AUDIT_USER_AVC) 434 if (!audit_enabled && msg_type != AUDIT_USER_AVC)
435 return 0; 435 return 0;
436 436
437 err = audit_filter_user(pid, msg_type); 437 err = audit_filter_user(&NETLINK_CB(skb), msg_type);
438 if (err == 1) { 438 if (err == 1) {
439 err = 0; 439 err = 0;
440 ab = audit_log_start(NULL, GFP_KERNEL, msg_type); 440 ab = audit_log_start(NULL, GFP_KERNEL, msg_type);