ANDROID: add support for clang Control Flow Integrity (CFI)
authorSami Tolvanen <samitolvanen@google.com>
Thu, 11 May 2017 22:03:36 +0000 (15:03 -0700)
committerSami Tolvanen <samitolvanen@google.com>
Thu, 26 Apr 2018 23:03:37 +0000 (16:03 -0700)
commitd590fd127d473216c7877e18088c53f445b45d2d
treed6851c024f8ff2bb3294e1b4afc589fdf556a103
parent727e8415818e53ba15d4e6106e7931aca5cb9032
ANDROID: add support for clang Control Flow Integrity (CFI)

This change adds the CONFIG_CFI_CLANG option, CFI error handling,
and a faster look-up table for cross module CFI checks.

Bug: 67506682
Change-Id: Ic009f0a629b552a0eb16e6d89808c7029e91447d
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
13 files changed:
Makefile
arch/Kconfig
include/asm-generic/vmlinux.lds.h
include/linux/cfi.h [new file with mode: 0644]
include/linux/compiler-clang.h
include/linux/compiler_types.h
include/linux/init.h
include/linux/module.h
init/Kconfig
kernel/Makefile
kernel/cfi.c [new file with mode: 0644]
kernel/module.c
net/Kconfig