summaryrefslogtreecommitdiffstats
path: root/security/selinux/Makefile
diff options
context:
space:
mode:
authorStephen Smalley <sds@tycho.nsa.gov>2006-02-04 23:27:50 -0800
committerLinus Torvalds <torvalds@g5.osdl.org>2006-02-05 11:06:52 -0800
commitc2b507fda390b8ae90deba9b8cdc3fe727482193 (patch)
tree6c839e9682fd1610dc6a9fb7cca9df2899ff05ca /security/selinux/Makefile
parent5c0d5d262aa4c5e93f9f5de298cf25d6d8b558c4 (diff)
[PATCH] selinux: require SECURITY_NETWORK
Make SELinux depend on SECURITY_NETWORK (which depends on SECURITY), as it requires the socket hooks for proper operation even in the local case. Signed-off-by: Stephen Smalley <sds@tycho.nsa.gov> Acked-by: James Morris <jmorris@namei.org> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'security/selinux/Makefile')
-rw-r--r--security/selinux/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/security/selinux/Makefile b/security/selinux/Makefile
index 06d54d9d20a..688c0a267b6 100644
--- a/security/selinux/Makefile
+++ b/security/selinux/Makefile
@@ -4,9 +4,7 @@
obj-$(CONFIG_SECURITY_SELINUX) := selinux.o ss/
-selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o
-
-selinux-$(CONFIG_SECURITY_NETWORK) += netif.o
+selinux-y := avc.o hooks.o selinuxfs.o netlink.o nlmsgtab.o netif.o
selinux-$(CONFIG_SECURITY_NETWORK_XFRM) += xfrm.o