Skip to content

audit: drop BUG_ON() calls

Ricardo Robaina audit lkml 1 version Applied

Status from this message: Merged into audit/dev, thanks.

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest2 patches 4 repliesApplied

Patches in v1 Applied

#Subject and filesSizeRepliesApplied
1/2audit: drop BUG_ON() from audit_add_to_parent()kernel/audit_watch.c+1 -12 replies
2/2audit: drop BUG_ON() from audit_signal_info_syscall()kernel/auditsc.c+2 -12 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/2] audit: drop BUG_ON() calls

This series drops two BUG_ON() calls from audit_add_to_parent() and audit_signal_info_syscall(), replacing them with alternatives that avoid panicking the kernel for conditions that are either debug-only assertions or defensive invariant checks.

Ricardo Robaina (2):
audit: drop BUG_ON() from audit_add_to_parent()
audit: drop BUG_ON() from audit_signal_info_syscall()

 kernel/audit_watch.c | 2 +-
 kernel/auditsc.c     | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
Signature · 1 line
2.53.0