]> nv-tegra.nvidia Code Review - linux-3.10.git/commitdiff
AUDIT: Use KERN_NOTICE for printk of audit records
authorDavid Woodhouse <dwmw2@shinybook.infradead.org>
Fri, 24 Jun 2005 16:24:11 +0000 (17:24 +0100)
committerDavid Woodhouse <dwmw2@shinybook.infradead.org>
Fri, 24 Jun 2005 16:24:11 +0000 (17:24 +0100)
They aren't errors.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
kernel/audit.c

index 6f1784dd80afe917e233167d4b1886ba8b4da031..2617d055240022a656a5cd164395e993e0f94f01 100644 (file)
@@ -286,7 +286,7 @@ int kauditd_thread(void *dummy)
                                        audit_pid = 0;
                                }
                        } else {
-                               printk(KERN_ERR "%s\n", skb->data + NLMSG_SPACE(0));
+                               printk(KERN_NOTICE "%s\n", skb->data + NLMSG_SPACE(0));
                                kfree_skb(skb);
                        }
                } else {
@@ -868,7 +868,7 @@ void audit_log_end(struct audit_buffer *ab)
                        ab->skb = NULL;
                        wake_up_interruptible(&kauditd_wait);
                } else {
-                       printk("%s\n", ab->skb->data + NLMSG_SPACE(0));
+                       printk(KERN_NOTICE "%s\n", ab->skb->data + NLMSG_SPACE(0));
                }
        }
        audit_buffer_free(ab);