ubsan-use-the-kernel-panic-message-markers.patch removed from -mm tree
The quilt patch titled
Subject: UBSAN: use the kernel panic message markers
has been removed from the -mm tree. Its filename was
ubsan-use-the-kernel-panic-message-markers.patch
This patch was dropped because it was merged into the mm-stable branch of git://git.kernel.org/pub/scm/linux/kernel/git/akpm/mm
------------------------------------------------------
From: "Borislav Petkov (AMD)" <[email protected]>
Subject: UBSAN: use the kernel panic message markers
Date: Mon, 18 Dec 2023 14:53:39 +0100
Use the same splat markers as panic does for easier matching by external tools scanning kernel dmesg for splats.
Signed-off-by Borislav Petkov (AMD) <[email protected]>
Cc Andrey Ryabinin <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
lib/ubsan.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)
lib/ubsan.c renamed from lib/ubsan.c~ubsan-use-the-kernel-panic-message-markers +3 -4
@@ -204,8 +204,8 @@ static void ubsan_prologue(struct source { current->in_ubsan++; -pr_err ("========================================" -"========================================\n" ); +pr_warn (CUT_HERE ); +pr_err ("UBSAN: %s in %s:%d:%d\n" , reason, loc->file_name, loc->line &LINE_MASK , loc->column &COLUMN_MASK );
@@ -215,8 +215,7 @@ static void ubsan_prologue(struct sourcestatic void ubsan_epilogue (void ) {dump_stack (); -pr_err ("========================================" -"========================================\n" ); +pr_warn ("---[ end trace ]---\n" ); current->in_ubsan--;
_
Patches currently in -mm which might be from [email protected] are