diff options
| author | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-05 19:17:18 -0400 |
|---|---|---|
| committer | Al Viro <viro@zeniv.linux.org.uk> | 2017-04-26 12:11:06 -0400 |
| commit | 2fefc97b2180518bac923fba3f79fdca1f41dc15 (patch) | |
| tree | 49624ab1036a67a482dff3843912ce8c548d8577 /security/Kconfig | |
| parent | 701cac61d0250912b89cbc28589969530179099a (diff) | |
HAVE_ARCH_HARDENED_USERCOPY is unconditional now
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Diffstat (limited to 'security/Kconfig')
| -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 | |||
| 125 | validating memory ranges against heap object sizes in | 125 | validating memory ranges against heap object sizes in |
| 126 | support of CONFIG_HARDENED_USERCOPY. | 126 | support of CONFIG_HARDENED_USERCOPY. |
| 127 | 127 | ||
| 128 | config HAVE_ARCH_HARDENED_USERCOPY | ||
| 129 | bool | ||
| 130 | help | ||
| 131 | The architecture supports CONFIG_HARDENED_USERCOPY by | ||
| 132 | calling check_object_size() just before performing the | ||
| 133 | userspace copies in the low level implementation of | ||
| 134 | copy_to_user() and copy_from_user(). | ||
| 135 | |||
| 136 | config HARDENED_USERCOPY | 128 | config HARDENED_USERCOPY |
| 137 | bool "Harden memory copies between kernel and userspace" | 129 | bool "Harden memory copies between kernel and userspace" |
| 138 | depends on HAVE_ARCH_HARDENED_USERCOPY | ||
| 139 | depends on HAVE_HARDENED_USERCOPY_ALLOCATOR | 130 | depends on HAVE_HARDENED_USERCOPY_ALLOCATOR |
| 140 | select BUG | 131 | select BUG |
| 141 | help | 132 | help |
