OSDN Git Service

usercopy: Do not select BUG with HARDENED_USERCOPY
authorKamal Mostafa <kamal@canonical.com>
Fri, 29 Jun 2018 20:04:21 +0000 (13:04 -0700)
committerKees Cook <keescook@chromium.org>
Tue, 3 Jul 2018 00:21:26 +0000 (17:21 -0700)
commit6aa56f44253a6dd802e45d8ab1b48847feaf063a
tree69d47435c4c3befe430f44c52922a644474695ef
parent7daf201d7fe8334e2d2364d4e8ed3394ec9af819
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>
security/Kconfig