2007-02-19 17:01:47

by Serge E. Hallyn

[permalink] [raw]
Subject: [PATCH -mm] 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.

Signed-off-by: Serge E. Hallyn <[email protected]>

---

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

ea8bfdc0811caad45edf08d95923809c9ed84538
diff --git a/security/Kconfig b/security/Kconfig
index 6d77f68..bc5b1be 100644
--- a/security/Kconfig
+++ b/security/Kconfig
@@ -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
--
1.1.6