Skip to content

Commit a3c9e45

Browse files
eparisJames Morris
authored andcommitted
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 6f0f0fd (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 <[email protected]> Signed-off-by: Eric Paris <[email protected]> Signed-off-by: James Morris <[email protected]>
1 parent 4a10c2a commit a3c9e45

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

security/Makefile

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,6 @@ obj-$(CONFIG_MMU) += min_addr.o
1616
# Object file lists
1717
obj-$(CONFIG_SECURITY) += security.o capability.o
1818
obj-$(CONFIG_SECURITYFS) += inode.o
19-
# Must precede capability.o in order to stack properly.
2019
obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o
2120
obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o
2221
obj-$(CONFIG_AUDIT) += lsm_audit.o

0 commit comments

Comments
 (0)