]>
Commit | Line | Data |
---|---|---|
b2441318 | 1 | # SPDX-License-Identifier: GPL-2.0 |
1da177e4 LT |
2 | # |
3 | # Makefile for the kernel security code | |
4 | # | |
5 | ||
6 | obj-$(CONFIG_KEYS) += keys/ | |
7 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux | |
e114e473 | 8 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
00d7d6f8 | 9 | subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
f9ad1af5 | 10 | subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor |
2d514487 | 11 | subdir-$(CONFIG_SECURITY_YAMA) += yama |
9b091556 | 12 | subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin |
aeca4e2c | 13 | subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid |
000d388e | 14 | subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown |
1da177e4 | 15 | |
5915eb53 | 16 | # always enable default capabilities |
6e141546 DH |
17 | obj-y += commoncap.o |
18 | obj-$(CONFIG_MMU) += min_addr.o | |
1da177e4 LT |
19 | |
20 | # Object file lists | |
b1d9e6b0 | 21 | obj-$(CONFIG_SECURITY) += security.o |
da31894e | 22 | obj-$(CONFIG_SECURITYFS) += inode.o |
e0c2de2b SR |
23 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/ |
24 | obj-$(CONFIG_SECURITY_SMACK) += smack/ | |
2bf49690 | 25 | obj-$(CONFIG_AUDIT) += lsm_audit.o |
e0c2de2b SR |
26 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ |
27 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ | |
28 | obj-$(CONFIG_SECURITY_YAMA) += yama/ | |
9b091556 | 29 | obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ |
aeca4e2c | 30 | obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/ |
000d388e | 31 | obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/ |
08ce5f16 | 32 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
3323eec9 MZ |
33 | |
34 | # Object integrity file lists | |
f381c272 | 35 | subdir-$(CONFIG_INTEGRITY) += integrity |
e0c2de2b | 36 | obj-$(CONFIG_INTEGRITY) += integrity/ |