summaryrefslogtreecommitdiff
path: root/security/Kconfig
diff options
context:
space:
mode:
authorKamal Mostafa <kamal@canonical.com>2018-06-29 23:04:21 +0300
committerKees Cook <keescook@chromium.org>2018-07-03 03:21:26 +0300
commit6aa56f44253a6dd802e45d8ab1b48847feaf063a (patch)
tree69d47435c4c3befe430f44c52922a644474695ef /security/Kconfig
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819 (diff)
downloadlinux-6aa56f44253a6dd802e45d8ab1b48847feaf063a.tar.xz
usercopy: Do not select BUG with HARDENED_USERCOPY
There is no need to "select BUG" when CONFIG_HARDENED_USERCOPY is enabled. The kernel thread will always die, regardless of the CONFIG_BUG. Signed-off-by: Kamal Mostafa <kamal@canonical.com> [kees: tweak commit log] Signed-off-by: Kees Cook <keescook@chromium.org>
Diffstat (limited to 'security/Kconfig')
-rw-r--r--security/Kconfig1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/Kconfig b/security/Kconfig
index c4302067a3ad..766777406ca8 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -153,7 +153,6 @@ config HAVE_HARDENED_USERCOPY_ALLOCATOR
config HARDENED_USERCOPY
bool "Harden memory copies between kernel and userspace"
depends on HAVE_HARDENED_USERCOPY_ALLOCATOR
- select BUG
imply STRICT_DEVMEM
help
This option checks for obviously wrong memory regions when