OSDN Git Service
(root)
/
tomoyo
/
tomoyo-test1.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a72ab03
)
riscv: Allow CONFIG_CFI_CLANG to be selected
author
Sami Tolvanen
<samitolvanen@google.com>
Mon, 10 Jul 2023 18:35:51 +0000
(18:35 +0000)
committer
Palmer Dabbelt
<palmer@rivosinc.com>
Wed, 23 Aug 2023 21:16:41 +0000
(14:16 -0700)
Select ARCH_SUPPORTS_CFI_CLANG to allow CFI_CLANG to be selected
on riscv.
Reviewed-by: Kees Cook <keescook@chromium.org>
Tested-by: Nathan Chancellor <nathan@kernel.org>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Link:
https://lore.kernel.org/r/20230710183544.999540-14-samitolvanen@google.com
Signed-off-by: Palmer Dabbelt <palmer@rivosinc.com>
arch/riscv/Kconfig
patch
|
blob
|
history
diff --git
a/arch/riscv/Kconfig
b/arch/riscv/Kconfig
index
29fdba9
..
68c790b
100644
(file)
--- a/
arch/riscv/Kconfig
+++ b/
arch/riscv/Kconfig
@@
-43,6
+43,7
@@
config RISCV
select ARCH_OPTIONAL_KERNEL_RWX_DEFAULT
select ARCH_STACKWALK
select ARCH_SUPPORTS_ATOMIC_RMW
+ select ARCH_SUPPORTS_CFI_CLANG
select ARCH_SUPPORTS_DEBUG_PAGEALLOC if MMU
select ARCH_SUPPORTS_HUGETLBFS if MMU
select ARCH_SUPPORTS_PAGE_TABLE_CHECK if MMU