summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRicardo Robaina <rrobaina@redhat.com>2026-07-28 11:14:23 -0300
committerPaul Moore <paul@paul-moore.com>2026-07-28 15:53:48 -0400
commit76f7e9ddee5c0da82d2ecec51312047d7b38c015 (patch)
tree829019c8d412a935433837cb4d832f15fa977492 /tools/perf/scripts/python
parentc0d73c09381e1c95d9262550e057c2f3dc82f98d (diff)
audit: drop BUG_ON() from audit_add_to_parent()
The BUG_ON(!mutex_is_locked(&audit_filter_mutex)) check in audit_add_to_parent() will panic the kernel if the mutex is not held, which is too severe for this situation. Replace it with lockdep_assert_held(), instead. Signed-off-by: Ricardo Robaina <rrobaina@redhat.com> Signed-off-by: Paul Moore <paul@paul-moore.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions