public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG
@ 2018-06-29 20:04 Kamal Mostafa
  2018-06-29 20:27 ` Kees Cook
  0 siblings, 1 reply; 4+ messages in thread
From: Kamal Mostafa @ 2018-06-29 20:04 UTC (permalink / raw)
  To: linux-kernel, Kees Cook
  Cc: Kamal Mostafa, James Morris, Serge E. Hallyn,
	open list:SECURITY SUBSYSTEM

Allows for CONFIG_HARDENED_USERCOPY without CONFIG_BUG.

Signed-off-by: Kamal Mostafa <kamal@canonical.com>
---
 security/Kconfig | 1 -
 1 file changed, 1 deletion(-)

diff --git a/security/Kconfig b/security/Kconfig
index c430206..7667774 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
-- 
2.7.4


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-07-02 20:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-06-29 20:04 [PATCH] security: CONFIG_HARDENED_USERCOPY does not need to select BUG Kamal Mostafa
2018-06-29 20:27 ` Kees Cook
2018-07-02 20:14   ` Kamal Mostafa
2018-07-02 20:46     ` Kees Cook

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox