diff options
author | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-06 02:17:18 +0300 |
---|---|---|
committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-26 19:11:06 +0300 |
commit | 2fefc97b2180518bac923fba3f79fdca1f41dc15 (patch) | |
tree | 49624ab1036a67a482dff3843912ce8c548d8577 /security | |
parent | 701cac61d0250912b89cbc28589969530179099a (diff) | |
download | linux-2fefc97b2180518bac923fba3f79fdca1f41dc15.tar.xz |
HAVE_ARCH_HARDENED_USERCOPY is unconditional now
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security')
-rw-r--r-- | security/Kconfig | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/security/Kconfig b/security/Kconfig index d900f47eaa68..213df4d4f2c1 100644 --- a/security/Kconfig +++ b/security/Kconfig @@ -125,17 +125,8 @@ config HAVE_HARDENED_USERCOPY_ALLOCATOR validating memory ranges against heap object sizes in support of CONFIG_HARDENED_USERCOPY. -config HAVE_ARCH_HARDENED_USERCOPY - bool - help - The architecture supports CONFIG_HARDENED_USERCOPY by - calling check_object_size() just before performing the - userspace copies in the low level implementation of - copy_to_user() and copy_from_user(). - config HARDENED_USERCOPY bool "Harden memory copies between kernel and userspace" - depends on HAVE_ARCH_HARDENED_USERCOPY depends on HAVE_HARDENED_USERCOPY_ALLOCATOR select BUG help |