[PATCH 6/9] kasan/um: call kasan_init_generic in kasan_init
Johannes Berg
johannes at sipsolutions.net
Wed Jun 25 05:20:38 PDT 2025
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 <snovitoll at gmail.com>
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 at sipsolutions.net>
johannes
More information about the linux-um
mailing list