audit: refactors and fixes for potential deadlocks
Get series with b4
b4 am [email protected]Versions newest first · linked by author and title
- v2 Latest5 patches 13 repliesIn review
- v14 patches 9 repliesSuperseded
Changes in v2 from the cover letter
- wait_for_kauditd(): returns 0 if @audit_queue is not full
- Add another fix for deadlock caused by missing wake_up
Patches in v2 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/5 | audit: refactor queue full checkskernel/ | +11 | 2 replies | |
| 2/5 | audit: account backlog waiting time in audit_receive()kernel/ | +26 | 3 replies | |
| 3/5 | audit: convert DECLARE_WAITQUEUE to DEFINE_WAITkernel/ | +4 | 1 reply | |
| 4/5 | audit: check if audit_queue is full after prepare_to_wait_exclusive()kernel/ | +10 | 3 replies | |
| 5/5 | audit: do not use exclusive wait in audit_receive()kernel/ | +11 | 4 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.
Cover letter [PATCH v2 0/5] audit: refactors and fixes for potential deadlocks
This patchset consists of the following refactors and fixes for potential deadlocks.
Patch1-3: Refactorings and a small fix preferable for following deadlock fixes
Patch4: Fix for deadlock caused by wait/wake_up race in @audit_queue full
Patch5: Fix for deadlock caused by missing wake_up
v1->v2:
- wait_for_kauditd(): returns 0 if @audit_queue is not full
- Add another fix for deadlock caused by missing wake_up
Eiichi Tsukata (5):
audit: refactor queue full checks
audit: account backlog waiting time in audit_receive()
audit: convert DECLARE_WAITQUEUE to DEFINE_WAIT
audit: check if audit_queue is full after prepare_to_wait_exclusive()
audit: do not use exclusive wait in audit_receive()
kernel/audit.c | 78 ++++++++++++++++++++++++++++++++------------------ 1 file changed, 50 insertions(+), 28 deletions(-)
Signature · 1 line
2.40.0