OLD | NEW |
1 # | 1 # |
2 # Makefile for the kernel security code | 2 # Makefile for the kernel security code |
3 # | 3 # |
4 | 4 |
5 obj-$(CONFIG_KEYS) += keys/ | 5 obj-$(CONFIG_KEYS) += keys/ |
6 subdir-$(CONFIG_SECURITY_SELINUX) += selinux | 6 subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
7 subdir-$(CONFIG_SECURITY_SMACK) += smack | 7 subdir-$(CONFIG_SECURITY_SMACK) += smack |
8 subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo | 8 subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
9 subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor | 9 subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor |
| 10 subdir-$(CONFIG_SECURITY_YAMA) += yama |
10 | 11 |
11 # always enable default capabilities | 12 # always enable default capabilities |
12 obj-y += commoncap.o | 13 obj-y += commoncap.o |
13 obj-$(CONFIG_MMU) += min_addr.o | 14 obj-$(CONFIG_MMU) += min_addr.o |
14 | 15 |
15 # Object file lists | 16 # Object file lists |
16 obj-$(CONFIG_SECURITY) += security.o capability.o | 17 obj-$(CONFIG_SECURITY) += security.o capability.o |
17 obj-$(CONFIG_SECURITYFS) += inode.o | 18 obj-$(CONFIG_SECURITYFS) += inode.o |
18 # Must precede capability.o in order to stack properly. | 19 # Must precede capability.o in order to stack properly. |
19 obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o | 20 obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o |
20 obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o | 21 obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
21 obj-$(CONFIG_AUDIT) += lsm_audit.o | 22 obj-$(CONFIG_AUDIT) += lsm_audit.o |
22 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o | 23 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o |
23 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o | 24 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o |
24 obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o | 25 obj-$(CONFIG_SECURITY_ROOTPLUG) += root_plug.o |
| 26 obj-$(CONFIG_SECURITY_YAMA) += yama/built-in.o |
25 obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o | 27 obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
26 | 28 |
27 # Object integrity file lists | 29 # Object integrity file lists |
28 subdir-$(CONFIG_IMA) += integrity/ima | 30 subdir-$(CONFIG_IMA) += integrity/ima |
29 obj-$(CONFIG_IMA) += integrity/ima/built-in.o | 31 obj-$(CONFIG_IMA) += integrity/ima/built-in.o |
OLD | NEW |