Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
audit: fix endless wait in audit_log_start()
After commit 8291991 ("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]>
- Loading branch information