diff options
author | Konstantin Khlebnikov <khlebnikov@openvz.org> | 2013-09-24 22:27:42 (GMT) |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2013-09-25 00:00:26 (GMT) |
commit | 8ac1c8d5deba65513b6a82c35e89e73996c8e0d6 (patch) | |
tree | fbf7742d632b870070632cf73f41663ba815576e /include/Kbuild | |
parent | 0608f43da64a1f1c42507304b5f25bc8b1227aa4 (diff) | |
download | linux-fsl-qoriq-8ac1c8d5deba65513b6a82c35e89e73996c8e0d6.tar.xz |
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 'include/Kbuild')
0 files changed, 0 insertions, 0 deletions