aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorKonstantin Khlebnikov <[email protected]>2013-09-24 15:27:42 -0700
committerLinus Torvalds <[email protected]>2013-09-24 17:00:26 -0700
commit8ac1c8d5deba65513b6a82c35e89e73996c8e0d6 (patch)
treefbf7742d632b870070632cf73f41663ba815576e /lib/memory-notifier-error-inject.c
parent0608f43da64a1f1c42507304b5f25bc8b1227aa4 (diff)
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 <[email protected]> Cc: Luiz Capitulino <[email protected]> Cc: Richard Guy Briggs <[email protected]> Cc: Eric Paris <[email protected]> Cc: Chuck Anderson <[email protected]> Cc: Dan Duval <[email protected]> Cc: Dave Kleikamp <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions