lkml.org 
[lkml]   [2020]   [Oct]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    Date
    Subject[PATCH v4 02/39] kasan: KASAN_VMALLOC depends on KASAN_GENERIC
    From
    Currently only generic KASAN mode supports vmalloc, reflect that
    in the config.

    Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
    Signed-off-by: Vincenzo Frascino <vincenzo.frascino@arm.com>
    Reviewed-by: Marco Elver <elver@google.com>
    ---
    Change-Id: I1889e5b3bed28cc5d607802fb6ae43ba461c0dc1
    ---
    lib/Kconfig.kasan | 2 +-
    1 file changed, 1 insertion(+), 1 deletion(-)

    diff --git a/lib/Kconfig.kasan b/lib/Kconfig.kasan
    index 047b53dbfd58..e1d55331b618 100644
    --- a/lib/Kconfig.kasan
    +++ b/lib/Kconfig.kasan
    @@ -156,7 +156,7 @@ config KASAN_SW_TAGS_IDENTIFY

    config KASAN_VMALLOC
    bool "Back mappings in vmalloc space with real shadow memory"
    - depends on HAVE_ARCH_KASAN_VMALLOC
    + depends on KASAN_GENERIC && HAVE_ARCH_KASAN_VMALLOC
    help
    By default, the shadow region for vmalloc space is the read-only
    zero page. This means that KASAN cannot detect errors involving
    --
    2.28.0.709.gb0816b6eb0-goog
    \
     
     \ /
      Last update: 2020-10-02 01:11    [W:2.834 / U:0.032 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site