Thread (81 messages) 81 messages, 8 authors, 2022-05-25

Re: [RFC PATCH v2 08/21] psci: Fix the function type for psci_initcall_t

From: Kees Cook <hidden>
Date: 2022-05-14 21:50:16
Also in: linux-hardening, lkml, llvm

On Fri, May 13, 2022 at 01:21:46PM -0700, Sami Tolvanen wrote:
Functions called through a psci_initcall_t pointer all have
non-const arguments. Fix the type definition to avoid tripping
indirect call checks with CFI_CLANG.

Reported-by: Mark Rutland <mark.rutland@arm.com>
Signed-off-by: Sami Tolvanen <samitolvanen@google.com>
This could land separately from this series, too, yes?

Reviewed-by: Kees Cook <redacted>

-- 
Kees Cook

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help