Skip to content
Snippets Groups Projects
Commit e1b09eba authored by David Woodhouse's avatar David Woodhouse
Browse files

AUDIT: Use KERN_NOTICE for printk of audit records


They aren't errors.

Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 5bb289b5
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment