Эх сурвалжийг харах

security: compile capabilities by default

Capabilities have long been the default when CONFIG_SECURITY=n,
and its help text suggests turning it on when CONFIG_SECURITY=y.
But it is set to default n.

Default it to y instead.

Signed-off-by: Serge Hallyn <serue@us.ibm.com>
Acked-by: Matt LaPlante <kernel1@cyberdogtech.com>
Signed-off-by: James Morris <jmorris@namei.org>
sergeh@us.ibm.com 17 жил өмнө
parent
commit
f71ea9ddf0

+ 1 - 0
security/Kconfig

@@ -76,6 +76,7 @@ config SECURITY_NETWORK_XFRM
 config SECURITY_CAPABILITIES
 config SECURITY_CAPABILITIES
 	bool "Default Linux Capabilities"
 	bool "Default Linux Capabilities"
 	depends on SECURITY
 	depends on SECURITY
+	default y
 	help
 	help
 	  This enables the "default" Linux capabilities functionality.
 	  This enables the "default" Linux capabilities functionality.
 	  If you are unsure how to answer this question, answer Y.
 	  If you are unsure how to answer this question, answer Y.