audit: wake up threads if queue switched from limited to unlimited
authorRichard Guy Briggs <rgb@redhat.com>
Wed, 13 Jan 2016 14:18:54 +0000 (09:18 -0500)
committerPaul Moore <paul@paul-moore.com>
Wed, 13 Jan 2016 14:18:54 +0000 (09:18 -0500)
commit1194b994bec308433cc84ffdb92fd668713b8f93
tree5c3e77bf39e0a831b33cfbdec4def109e1b65faf
parentf48a942926c58e4b2dfc3f21c58579d5435841ef
audit: wake up threads if queue switched from limited to unlimited

If the audit_backlog_limit is changed from a limited value to an
unlimited value (zero) while the queue was overflowed, wake up the
audit_backlog_wait queue to allow those processes to continue.

Signed-off-by: Richard Guy Briggs <rgb@redhat.com>
Signed-off-by: Paul Moore <pmoore@redhat.com>
kernel/audit.c