summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Paris <eparis@redhat.com>2013-09-10 09:51:50 -0400
committerJames Morris <james.l.morris@oracle.com>2013-09-24 11:26:28 +1000
commita3c9e45d18ace44d02574518144742a00c7a94ec (patch)
tree2f4c9e30867e7ccc3c4399b69faf5fe729d118d6
parent4a10c2ac2f368583138b774ca41fac4207911983 (diff)
downloadop-kernel-dev-a3c9e45d18ace44d02574518144742a00c7a94ec.zip
op-kernel-dev-a3c9e45d18ace44d02574518144742a00c7a94ec.tar.gz
security: remove erroneous comment about capabilities.o link ordering
Back when we had half ass LSM stacking we had to link capabilities.o after bigger LSMs so that on initialization the bigger LSM would register first and the capabilities module would be the one stacked as the 'seconday'. Somewhere around 6f0f0fd496333777d53 (back in 2008) we finally removed the last of the kinda module stacking code but this comment in the makefile still lives today. Reported-by: Valdis Kletnieks <Valdis.Kletnieks@vt.edu> Signed-off-by: Eric Paris <eparis@redhat.com> Signed-off-by: James Morris <james.l.morris@oracle.com>
-rw-r--r--security/Makefile1
1 files changed, 0 insertions, 1 deletions
diff --git a/security/Makefile b/security/Makefile
index c26c81e..a5918e0 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -16,7 +16,6 @@ obj-$(CONFIG_MMU) += min_addr.o
# Object file lists
obj-$(CONFIG_SECURITY) += security.o capability.o
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_AUDIT) += lsm_audit.o
OpenPOWER on IntegriCloud