[PATCH -mm] file caps: allow file caps when capabilities are modules

From: Serge E. Hallyn
Date: Mon Feb 19 2007 - 12:02:19 EST


From: Serge E. Hallyn <serue@xxxxxxxxxx>
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 <serue@xxxxxxxxxx>

---

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/