]> git.karo-electronics.de Git - mv-sheeva.git/commitdiff
security: change link order of LSMs so security=tomoyo works
authorJames Morris <jmorris@namei.org>
Thu, 12 Feb 2009 05:29:04 +0000 (16:29 +1100)
committerJames Morris <jmorris@namei.org>
Thu, 12 Feb 2009 05:29:04 +0000 (16:29 +1100)
LSMs need to be linked before root_plug to ensure the security=
boot parameter works with them.  Do this for Tomoyo.

(root_plug probably needs to be taken out and shot at some point,
too).

Signed-off-by: James Morris <jmorris@namei.org>
security/Makefile

index 35f50c585e2b727fd9537fe6175c83c7858fa47f..fa77021d9778ac1f32d7ec10e5322a0e6825e5c9 100644 (file)
@@ -16,9 +16,9 @@ obj-$(CONFIG_SECURITYFS)              += inode.o
 # Must precede capability.o in order to stack properly.
 obj-$(CONFIG_SECURITY_SELINUX)         += selinux/built-in.o
 obj-$(CONFIG_SECURITY_SMACK)           += smack/built-in.o
+obj-$(CONFIG_SECURITY_TOMOYO)          += tomoyo/built-in.o
 obj-$(CONFIG_SECURITY_ROOTPLUG)                += root_plug.o
 obj-$(CONFIG_CGROUP_DEVICE)            += device_cgroup.o
-obj-$(CONFIG_SECURITY_TOMOYO)          += tomoyo/built-in.o
 
 # Object integrity file lists
 subdir-$(CONFIG_IMA)                   += integrity/ima