]> git.baikalelectronics.ru Git - kernel.git/commit
kasan: rename kasan_zero_page to kasan_early_shadow_page
authorAndrey Konovalov <andreyknvl@google.com>
Fri, 28 Dec 2018 08:30:01 +0000 (00:30 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 28 Dec 2018 20:11:43 +0000 (12:11 -0800)
commit7f46f248699908e7e525a4d682c60f32e924888f
treef45461ff3b8ddc4f5a933007b341365609706c4d
parent028b6705b3d4bcb09a1467f3ff25726c7a143bef
kasan: rename kasan_zero_page to kasan_early_shadow_page

With tag based KASAN mode the early shadow value is 0xff and not 0x00, so
this patch renames kasan_zero_(page|pte|pmd|pud|p4d) to
kasan_early_shadow_(page|pte|pmd|pud|p4d) to avoid confusion.

Link: http://lkml.kernel.org/r/3fed313280ebf4f88645f5b89ccbc066d320e177.1544099024.git.andreyknvl@google.com
Signed-off-by: Andrey Konovalov <andreyknvl@google.com>
Suggested-by: Mark Rutland <mark.rutland@arm.com>
Cc: Andrey Ryabinin <aryabinin@virtuozzo.com>
Cc: Christoph Lameter <cl@linux.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Will Deacon <will.deacon@arm.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm64/mm/kasan_init.c
arch/s390/mm/dump_pagetables.c
arch/s390/mm/kasan_init.c
arch/x86/mm/dump_pagetables.c
arch/x86/mm/kasan_init_64.c
arch/xtensa/mm/kasan_init.c
include/linux/kasan.h
mm/kasan/init.c