[RFC PATCH v2 13/21] treewide: Drop WARN_ON_FUNCTION_MISMATCH
Kees Cook
keescook at chromium.org
Sat May 14 14:54:46 PDT 2022
On Fri, May 13, 2022 at 01:21:51PM -0700, Sami Tolvanen wrote:
> CONFIG_CFI_CLANG no longer breaks cross-module function address
> equality, which makes WARN_ON_FUNCTION_MISMATCH unnecessary. Remove
> the definition and switch back to WARN_ON_ONCE.
>
> Signed-off-by: Sami Tolvanen <samitolvanen at google.com>
This one always felt like a trade-off, so I'm happy to see it go. :)
Reviewed-by: Kees Cook <keescook at chromium.org>
--
Kees Cook
More information about the linux-arm-kernel
mailing list