Thread (15 messages) 15 messages, 8 authors, 2012-11-30

Re: [PATCH] Smack: Add missing depends on INET in Kconfig

From: Casey Schaufler <casey@schaufler-ca.com>
Date: 2012-11-30 22:18:50
Also in: lkml, netdev

On 11/30/2012 2:01 PM, Eric Paris wrote:
Do other LSMs need this too Casey?  I remember we mentioned how select
was dangerous  :-(
I don't see any missing dependencies, but then, I missed INET.
Yes, you mentioned that it was dangerous.
On Fri, Nov 30, 2012 at 12:28 PM, Casey Schaufler
[off-list ref] wrote:
quoted
Because NETLABEL depends on INET SECURITY_SMACK
has to explicitly call out the dependency.

Signed-off-by: Casey Schaufler <casey@schaufler-ca.com>
---
 security/smack/Kconfig |    1 +
 1 file changed, 1 insertion(+)
diff --git a/security/smack/Kconfig b/security/smack/Kconfig
index 9fb14ef..1be1088 100644
--- a/security/smack/Kconfig
+++ b/security/smack/Kconfig
@@ -1,5 +1,6 @@
 config SECURITY_SMACK
        bool "Simplified Mandatory Access Control Kernel Support"
+       depends on INET
        depends on NET
        depends on SECURITY
        select NETLABEL

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help