]>
Commit | Line | Data |
---|---|---|
1da177e4 LT |
1 | # |
2 | # Makefile for the kernel security code | |
3 | # | |
4 | ||
5 | obj-$(CONFIG_KEYS) += keys/ | |
6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | |
e114e473 | 7 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
00d7d6f8 | 8 | subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
f9ad1af5 | 9 | subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor |
2d514487 | 10 | subdir-$(CONFIG_SECURITY_YAMA) += yama |
1da177e4 | 11 | |
5915eb53 | 12 | # always enable default capabilities |
6e141546 DH |
13 | obj-y += commoncap.o |
14 | obj-$(CONFIG_MMU) += min_addr.o | |
1da177e4 LT |
15 | |
16 | # Object file lists | |
da31894e EP |
17 | obj-$(CONFIG_SECURITY) += security.o capability.o |
18 | obj-$(CONFIG_SECURITYFS) += inode.o | |
1da177e4 LT |
19 | # Must precede capability.o in order to stack properly. |
20 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o | |
5915eb53 | 21 | obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
2bf49690 | 22 | obj-$(CONFIG_AUDIT) += lsm_audit.o |
42d5aaa2 | 23 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o |
f9ad1af5 | 24 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o |
2d514487 | 25 | obj-$(CONFIG_SECURITY_YAMA) += yama/built-in.o |
08ce5f16 | 26 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
3323eec9 MZ |
27 | |
28 | # Object integrity file lists | |
f381c272 MZ |
29 | subdir-$(CONFIG_INTEGRITY) += integrity |
30 | obj-$(CONFIG_INTEGRITY) += integrity/built-in.o |