mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH master] security: policy: remove duplicate SECURITY_POLICY_PATH symbol
@ 2025-10-23 15:41 Ahmad Fatoum
  0 siblings, 0 replies; only message in thread
From: Ahmad Fatoum @ 2025-10-23 15:41 UTC (permalink / raw)
  To: barebox; +Cc: Fabian Pflug, Ahmad Fatoum

Likely a side effect of rebasing, the symbol SECURITY_POLICY_PATH was
introduced twice:

- First in commit b720fb9a905d ("Add security policy support")
- Then again in commit 79cd2e4fe633
  ("security: policy: support externally provided configs")

Kconfig can handle this, but it's unintended, so remove a copy.

Fixes: b720fb9a905d ("Add security policy support")
Reported-by: Fabian Pflug <f.pflug@pengutronix.de>
Signed-off-by: Ahmad Fatoum <a.fatoum@pengutronix.de>
---
 security/Kconfig.policy | 15 ---------------
 1 file changed, 15 deletions(-)

diff --git a/security/Kconfig.policy b/security/Kconfig.policy
index 1f3becd4fba7..9ea52e91dad3 100644
--- a/security/Kconfig.policy
+++ b/security/Kconfig.policy
@@ -83,21 +83,6 @@ config SECURITY_POLICY_PATH
 
 	  Absolute paths are disallowed.
 
-config SECURITY_POLICY_PATH
-	string
-	depends on SECURITY_POLICY
-	prompt "Paths to additional security policies"
-	help
-	  Space separated list of security policies that should be
-	  compiled into barebox and registered. This option currently
-	  requires each security policy to match security/*.sconfig, i.e.
-	  be directly located in the security/ directory of the source
-	  source tree and have the .sconfig extension.
-	  If left empty, only security policies explicitly provided
-	  and registered by board code will be available.
-
-	  Absolute paths are disallowed.
-
 config SECURITY_POLICY_NAMES
 	bool
 
-- 
2.47.3




^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2025-10-23 15:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2025-10-23 15:41 [PATCH master] security: policy: remove duplicate SECURITY_POLICY_PATH symbol Ahmad Fatoum

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