kasan-move-disable_trace_on_warning-to-start_report.patch removed from -mm tree
The patch titled
Subject: kasan: move disable_trace_on_warning to start_report
has been removed from the -mm tree. Its filename was
kasan-move-disable_trace_on_warning-to-start_report.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: Andrey Konovalov <[email protected]>
Subject: kasan: move disable_trace_on_warning to start_report
Move the disable_trace_on_warning() call, which enables the /proc/sys/kernel/traceoff_on_warning interface for KASAN bugs, to start_report(), so that it functions for all types of KASAN reports.
---
mm/kasan/report.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-)
mm/kasan/report.c renamed from mm/kasan/report.c~kasan-move-disable_trace_on_warning-to-start_report +2 -1
@@ -129,6 +129,8 @@ static DEFINE_SPINLOCK(report_lock);static void start_report (unsigned long *flags,bool sync) { +/* Respect the /proc/sys/kernel/traceoff_on_warning interface. */ +disable_trace_on_warning ();/* Update status of the currently running KASAN test. */ update_kunit_status (sync);/* Make sure we don't end up in loop. */
@@ -421,7 +423,6 @@ static void __kasan_report(unsigned longvoid *untagged_addr;unsigned long flags; -disable_trace_on_warning ();start_report (&flags, true); tagged_addr = (void *)addr;
_
Patches currently in -mm which might be from [email protected] are
stacktrace-add-interface-based-on-shadow-call-stack.patch arm64-scs-save-scs_sp-values-per-cpu-when-switching-stacks.patch arm64-implement-stack_trace_save_shadow.patch kasan-use-stack_trace_save_shadow.patch