Commit b938fcf4 authored by Andrey Konovalov's avatar Andrey Konovalov Committed by Linus Torvalds
Browse files

kasan: rename source files to reflect the new naming scheme

We now have two KASAN modes: generic KASAN and tag-based KASAN.  Rename
kasan.c to generic.c to reflect that.  Also rename kasan_init.c to init.c
as it contains initialization code for both KASAN modes.


Signed-off-by: default avatarAndrey Konovalov <>
Reviewed-by: default avatarAndrey Ryabinin <>
Reviewed-by: default avatarDmitry Vyukov <>
Cc: Christoph Lameter <>
Cc: Mark Rutland <>
Cc: Will Deacon <>
Signed-off-by: default avatarAndrew Morton <>
Signed-off-by: default avatarLinus Torvalds <>
parent bffa986c
# SPDX-License-Identifier: GPL-2.0
UBSAN_SANITIZE_common.o := n
UBSAN_SANITIZE_kasan.o := n
UBSAN_SANITIZE_generic.o := n
CFLAGS_REMOVE_kasan.o = -pg
CFLAGS_REMOVE_generic.o = -pg
# Function splitter causes unnecessary splits in __asan_load1/__asan_store1
# see:
CFLAGS_common.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
CFLAGS_kasan.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
CFLAGS_generic.o := $(call cc-option, -fno-conserve-stack -fno-stack-protector)
obj-y := common.o kasan.o report.o kasan_init.o quarantine.o
obj-y := common.o generic.o report.o init.o quarantine.o
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment