diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2013-09-24 15:27:42 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-24 17:00:26 -0700 |
commit | 8ac1c8d5deba65513b6a82c35e89e73996c8e0d6 (patch) | |
tree | fbf7742d632b870070632cf73f41663ba815576e /kernel/mutex-debug.h | |
parent | 0608f43da64a1f1c42507304b5f25bc8b1227aa4 (diff) | |
download | blackbird-op-linux-8ac1c8d5deba65513b6a82c35e89e73996c8e0d6.tar.gz blackbird-op-linux-8ac1c8d5deba65513b6a82c35e89e73996c8e0d6.zip |
audit: fix endless wait in audit_log_start()
After commit 829199197a43 ("kernel/audit.c: avoid negative sleep
durations") audit emitters will block forever if userspace daemon cannot
handle backlog.
After the timeout the waiting loop turns into busy loop and runs until
daemon dies or returns back to work. This is a minimal patch for that
bug.
Signed-off-by: Konstantin Khlebnikov <khlebnikov@openvz.org>
Cc: Luiz Capitulino <lcapitulino@redhat.com>
Cc: Richard Guy Briggs <rgb@redhat.com>
Cc: Eric Paris <eparis@redhat.com>
Cc: Chuck Anderson <chuck.anderson@oracle.com>
Cc: Dan Duval <dan.duval@oracle.com>
Cc: Dave Kleikamp <dave.kleikamp@oracle.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'kernel/mutex-debug.h')
0 files changed, 0 insertions, 0 deletions