Skip to content

Commit 42d5aaa

Browse files
author
James Morris
committed
security: change link order of LSMs so security=tomoyo works
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 <[email protected]>
1 parent d74db3b commit 42d5aaa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

security/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ obj-$(CONFIG_SECURITYFS) += inode.o
1616
# Must precede capability.o in order to stack properly.
1717
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
1818
obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
19+
obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o
1920
obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o
2021
obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
21-
obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o
2222

2323
# Object integrity file lists
2424
subdir-$(CONFIG_IMA) += integrity/ima

0 commit comments

Comments
 (0)