Re: [PATCH 1/1] mm/kasan: avoid export __kasan_kmalloc
From: Marco Elver <elver@google.com>
Date: 2021-09-30 06:20:08
From: Marco Elver <elver@google.com>
Date: 2021-09-30 06:20:08
On Thu, Sep 30, 2021 at 03:50AM +0000, yanjun.zhu@linux.dev wrote:
quoted
quoted
-EXPORT_SYMBOL(__kasan_kmalloc); Sorry, but this will break all users of kmalloc() with KASAN on if !TRACING:*module users. An allmodconfig but with CONFIG_TRACING=n will probably show you the problem.Follow your advice, I changed CONFIG_TRACING=n in .config. Then I run "make -jxx modules". But CONFIG_TRACING is changed to y. So what you mentioned does not appear.
CONFIG_TRACING is not user selectable but auto-selected, just have to disable all those that select it. See .config, which breaks.