diff --git a/kernel/auditsc.c b/kernel/auditsc.c index cbab0da86d1542e3400a9ee001dbf0e5de6f019e..f3d3dc652c2c40425598a5a13c497e5a6f3151ff 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;