Merge tag 'pidfd-v5.1-rc1' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner...
[linux-2.6-block.git] / kernel / audit_watch.c
index 20ef9ba134b0e7402e2fdca5639f66ce9a1c8359..e8d1adeb22230b1df4a33762fb17f0f7f014668e 100644 (file)
@@ -242,7 +242,7 @@ static void audit_watch_log_rule_change(struct audit_krule *r, struct audit_watc
 
        if (!audit_enabled)
                return;
-       ab = audit_log_start(NULL, GFP_NOFS, AUDIT_CONFIG_CHANGE);
+       ab = audit_log_start(audit_context(), GFP_NOFS, AUDIT_CONFIG_CHANGE);
        if (!ab)
                return;
        audit_log_session_info(ab);