diff options
| author | Sami Tolvanen <[email protected]> | 2022-09-08 21:54:47 +0000 |
|---|---|---|
| committer | Kees Cook <[email protected]> | 2022-09-26 17:13:13 +0000 |
| commit | 89245600941e4e0f87d77f60ee269b5e61ef4e49 (patch) | |
| tree | a0069b5bd625907cb854091e6dbbeed4964815b0 /drivers/firmware/psci/psci.c | |
| parent | cfi: Drop __CFI_ADDRESSABLE (diff) | |
| download | kernel-89245600941e4e0f87d77f60ee269b5e61ef4e49.tar.gz kernel-89245600941e4e0f87d77f60ee269b5e61ef4e49.zip | |
cfi: Switch to -fsanitize=kcfi
Switch from Clang's original forward-edge control-flow integrity
implementation to -fsanitize=kcfi, which is better suited for the
kernel, as it doesn't require LTO, doesn't use a jump table that
requires altering function references, and won't break cross-module
function address equality.
Signed-off-by: Sami Tolvanen <[email protected]>
Reviewed-by: Kees Cook <[email protected]>
Tested-by: Kees Cook <[email protected]>
Tested-by: Nathan Chancellor <[email protected]>
Acked-by: Peter Zijlstra (Intel) <[email protected]>
Tested-by: Peter Zijlstra (Intel) <[email protected]>
Signed-off-by: Kees Cook <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions
