diff --git a/kernel/auditsc.c b/kernel/auditsc.c index cbab0da86d15..f3d3dc652c2c 100644 --- a/kernel/auditsc.c +++ b/kernel/auditsc.c @@ -2497,7 +2497,7 @@ void audit_seccomp_actions_logged(const char *names, const char *old_names, if (!audit_enabled) return; - ab = audit_log_start(current->audit_context, GFP_KERNEL, + ab = audit_log_start(audit_context(), GFP_KERNEL, AUDIT_CONFIG_CHANGE); if (unlikely(!ab)) return;