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

Ricardo Robaina <[email protected]> Tue, 28 Jul 2026 11:14:22 -0300
Newsgroups org.kernel.vger.audit,org.kernel.vger.linux-kernel
Message-ID <[email protected]>
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(-)

-- 
2.53.0