audit: trigger accompanying records when no rules present
[sfrench/cifs-2.6.git] / kernel / auditsc.c
index 4effe01ebbe2b3ad1e0d5cf566909db533dcb610..814406a35db163080bbf937524d63690861ff750 100644 (file)
@@ -1406,9 +1406,6 @@ static void audit_log_proctitle(void)
        struct audit_context *context = audit_context();
        struct audit_buffer *ab;
 
-       if (!context || context->dummy)
-               return;
-
        ab = audit_log_start(context, GFP_KERNEL, AUDIT_PROCTITLE);
        if (!ab)
                return; /* audit_panic or being filtered */