Skip to contentSkip to conversation

file caps: allow file caps when capabilities are modules

PATCH New Serge E. Hallyn 1 participant 1 message Feb 19, 2007 Security (LSM)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 file caps: allow file caps when capabilities are modules

From: Serge E. Hallyn <[email protected]>
Subject: [PATCH -mm] file caps: allow file caps when capabilities are modules

The security/Kconfig was set up so that file capabilities were not an option when capabilities were selected as a module. Fix.

---

 security/Kconfig |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

ea8bfdc0811caad45edf08d95923809c9ed84538

security/Kconfig +1 -1
index 6d77f68..bc5b1be 100644
@@ -90,7 +90,7 @@ config SECURITY_CAPABILITIES
 
 config SECURITY_FS_CAPABILITIES
 	bool "File POSIX Capabilities"
-	depends on SECURITY=n || SECURITY_CAPABILITIES=y
+	depends on SECURITY=n || SECURITY_CAPABILITIES!=n
 	default n
 	help
 	  This enables filesystem capabilities, allowing you to give
Signature · 1 line
1.1.6