summaryrefslogtreecommitdiffstats
path: root/drivers/misc/lkdtm/usercopy.c
diff options
context:
space:
mode:
authorSami Tolvanen <samitolvanen@google.com>2022-09-08 23:54:53 +0200
committerKees Cook <keescook@chromium.org>2022-09-26 19:13:14 +0200
commit5f20997c194e8b74254cbdb113b2b09bc1c0c734 (patch)
tree11a18632d8c36699e1a1b0465d73c0ca0f46980d /drivers/misc/lkdtm/usercopy.c
parentarm64: Add CFI error handling (diff)
downloadlinux-5f20997c194e8b74254cbdb113b2b09bc1c0c734.tar.xz
linux-5f20997c194e8b74254cbdb113b2b09bc1c0c734.zip
arm64: Drop unneeded __nocfi attributes
With -fsanitize=kcfi, CONFIG_CFI_CLANG no longer has issues with address space confusion in functions that switch to linear mapping. Now that the indirectly called assembly functions have type annotations, drop the __nocfi attributes. Suggested-by: Mark Rutland <mark.rutland@arm.com> Signed-off-by: Sami Tolvanen <samitolvanen@google.com> Reviewed-by: Kees Cook <keescook@chromium.org> Tested-by: Kees Cook <keescook@chromium.org> Tested-by: Nathan Chancellor <nathan@kernel.org> Acked-by: Peter Zijlstra (Intel) <peterz@infradead.org> Tested-by: Peter Zijlstra (Intel) <peterz@infradead.org> Signed-off-by: Kees Cook <keescook@chromium.org> Link: https://lore.kernel.org/r/20220908215504.3686827-12-samitolvanen@google.com
Diffstat (limited to 'drivers/misc/lkdtm/usercopy.c')
0 files changed, 0 insertions, 0 deletions