提交 6aa56f44 编写于 作者: K Kamal Mostafa 提交者: Kees Cook

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: NKamal Mostafa <kamal@canonical.com>
[kees: tweak commit log]
Signed-off-by: NKees Cook <keescook@chromium.org>
上级 7daf201d
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册