mm-kmemleak-use-%pk-to-display-kernel-pointers-in-backtrace.patch removed from -mm tree
The quilt patch titled
Subject: mm/kmemleak: use %pK to display kernel pointers in backtrace
has been removed from the -mm tree. Its filename was
mm-kmemleak-use-%pk-to-display-kernel-pointers-in-backtrace.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: Clément Léger <[email protected]>
Subject: mm/kmemleak: use %pK to display kernel pointers in backtrace
Date: Tue, 8 Nov 2022 10:43:22 +0100
Currently, %p is used to display kernel pointers in backtrace which result in a hashed value that is not usable to correlate the address for debug. Use %pK which will respect the kptr_restrict configuration value and thus allow to extract meaningful information from the backtrace.
---
mm/kmemleak.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
mm/kmemleak.c renamed from mm/kmemleak.c~mm-kmemleak-use-%pk-to-display-kernel-pointers-in-backtrace +1 -1
@@ -361,7 +361,7 @@ static void print_unreferenced(struct sefor (i =0 ; i < nr_entries; i++) {void *ptr = (void *)entries[i]; -warn_or_seq_printf (seq," [<%p>] %pS\n" , ptr, ptr); +warn_or_seq_printf (seq," [<%pK>] %pS\n" , ptr, ptr); } }
_
Patches currently in -mm which might be from [email protected] are