Thread (42 messages) 42 messages, 4 authors, 2021-03-17

Re: [PATCH 17/17] arm64: allow CONFIG_CFI_CLANG to be selected

From: Kees Cook <hidden>
Date: 2021-03-16 23:03:34
Also in: bpf, linux-arm-kernel, linux-hardening, linux-kbuild, linux-pci, lkml

On Tue, Mar 16, 2021 at 01:44:33PM -0700, Sami Tolvanen wrote:
On Thu, Mar 11, 2021 at 6:51 PM Kees Cook [off-list ref] wrote:
quoted
On Thu, Mar 11, 2021 at 04:49:19PM -0800, Sami Tolvanen wrote:
quoted
Select ARCH_SUPPORTS_CFI_CLANG to allow CFI to be enabled.

Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
Reviewed-by: Kees Cook <redacted>

Random thought: the vDSO doesn't need special handling because it
doesn't make any indirect calls, yes?
That might be true, but we also filter out CC_FLAGS_LTO for the vDSO,
which disables CFI as well.
Oh right! That would do it. :)

-- 
Kees Cook
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help