[AUDIT] ratelimit printk messages audit
authorEric Paris <eparis@redhat.com>
Thu, 24 Jan 2008 03:55:05 +0000 (22:55 -0500)
committerAl Viro <viro@zeniv.linux.org.uk>
Fri, 1 Feb 2008 19:25:04 +0000 (14:25 -0500)
commit320f1b1ed28c601cc152053a2f428a126cb608bc
tree5865f2acf0d84b61fc81108f1bbb33896d11df84
parent148b38dc9309044c8656aa36d5fd86069e2ea7cc
[AUDIT] ratelimit printk messages audit

some printk messages from the audit system can become excessive.  This
patch ratelimits those messages.  It was found that messages, such as
the audit backlog lost printk message could flood the logs to the point
that a machine could take an nmi watchdog hit or otherwise become
unresponsive.

Signed-off-by: Eric Paris <eparis@redhat.com>
kernel/audit.c