Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1704246

[PATCH v4 5/7] integrity: Select CONFIG_KEYS instead of depending on it

From Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH v4 5/7] integrity: Select CONFIG_KEYS instead of depending on it
Date 2017-08-05 00:10 +0200
Message-ID <uaSX8-4qq-29@gated-at.bofh.it> (permalink)
References <uaSX8-4qq-19@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


This avoids a dependency cycle in CONFIG_IMA_APPRAISE_MODSIG (introduced by
a later patch in this series): it will select CONFIG_MODULE_SIG_FORMAT
which in turn selects CONFIG_KEYS. Kconfig then complains that
CONFIG_INTEGRITY_SIGNATURE depends on CONFIG_KEYS.

Signed-off-by: Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com>
---
 security/integrity/Kconfig | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/security/integrity/Kconfig b/security/integrity/Kconfig
index da9565891738..0d642e0317c7 100644
--- a/security/integrity/Kconfig
+++ b/security/integrity/Kconfig
@@ -17,8 +17,8 @@ if INTEGRITY
 
 config INTEGRITY_SIGNATURE
 	bool "Digital signature verification using multiple keyrings"
-	depends on KEYS
 	default n
+	select KEYS
 	select SIGNATURE
 	help
 	  This option enables digital signature verification support
-- 
2.13.0

Back to linux.kernel | Previous | Next | Find similar | Unroll thread


Thread

[PATCH v4 5/7] integrity: Select CONFIG_KEYS instead of depending on it Thiago Jung Bauermann <bauerman@linux.vnet.ibm.com> - 2017-08-05 00:10 +0200

csiph-web