Thread (1 message) 1 message, 1 author, 2025-06-25

Re: [PATCH 6/9] kasan/um: call kasan_init_generic in kasan_init

From: Johannes Berg <johannes@sipsolutions.net>
Date: 2025-06-25 12:21:21
Also in: linux-mm, linux-s390, linux-um, linuxppc-dev, lkml, loongarch

On Wed, 2025-06-25 at 14:52 +0500, Sabyrzhan Tasbolatov wrote:
Call kasan_init_generic() which enables the static flag
to mark generic KASAN initialized, otherwise it's an inline stub.

Delete the key `kasan_um_is_ready` in favor of the global static flag in
linux/kasan-enabled.h which is enabled with kasan_init_generic().

Closes: https://bugzilla.kernel.org/show_bug.cgi?id=218315
Signed-off-by: Sabyrzhan Tasbolatov <redacted>
Looks fine, I guess. You can test/build it without qemu - on x86 - by
using 'make ARCH=um' or so.

I'm assuming it'll go through some kasan tree since there are
dependencies:

Acked-by: Johannes Berg <johannes@sipsolutions.net>

johannes
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help