diff options
author | Kees Cook <keescook@chromium.org> | 2016-06-24 00:59:42 +0200 |
---|---|---|
committer | Kees Cook <keescook@chromium.org> | 2016-07-26 23:41:49 +0200 |
commit | faf5b63e294151d6ac24ca6906d6f221bd3496cd (patch) | |
tree | 08d4c75346cf54025b6ae1599e3c61afe5423c8f /arch/arm64/Kconfig | |
parent | ARM: uaccess: Enable hardened usercopy (diff) | |
download | linux-faf5b63e294151d6ac24ca6906d6f221bd3496cd.tar.xz linux-faf5b63e294151d6ac24ca6906d6f221bd3496cd.zip |
arm64/uaccess: Enable hardened usercopy
Enables CONFIG_HARDENED_USERCOPY checks on arm64. As done by KASAN in -next,
renames the low-level functions to __arch_copy_*_user() so a static inline
can do additional work before the copy.
Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'arch/arm64/Kconfig')
-rw-r--r-- | arch/arm64/Kconfig | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm64/Kconfig b/arch/arm64/Kconfig index 5a0a691d4220..9cdb2322c811 100644 --- a/arch/arm64/Kconfig +++ b/arch/arm64/Kconfig @@ -51,6 +51,7 @@ config ARM64 select HAVE_ALIGNED_STRUCT_PAGE if SLUB select HAVE_ARCH_AUDITSYSCALL select HAVE_ARCH_BITREVERSE + select HAVE_ARCH_HARDENED_USERCOPY select HAVE_ARCH_HUGE_VMAP select HAVE_ARCH_JUMP_LABEL select HAVE_ARCH_KASAN if SPARSEMEM_VMEMMAP && !(ARM64_16K_PAGES && ARM64_VA_BITS_48) |