]>
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 |
520b7aa0 | 15 | subdir-$(CONFIG_BPF_LSM) += bpf |
1da177e4 | 16 | |
5915eb53 | 17 | # always enable default capabilities |
6e141546 DH |
18 | obj-y += commoncap.o |
19 | obj-$(CONFIG_MMU) += min_addr.o | |
1da177e4 LT |
20 | |
21 | # Object file lists | |
b1d9e6b0 | 22 | obj-$(CONFIG_SECURITY) += security.o |
da31894e | 23 | obj-$(CONFIG_SECURITYFS) += inode.o |
e0c2de2b SR |
24 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/ |
25 | obj-$(CONFIG_SECURITY_SMACK) += smack/ | |
b2104ac0 | 26 | obj-$(CONFIG_SECURITY) += lsm_audit.o |
e0c2de2b SR |
27 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ |
28 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ | |
29 | obj-$(CONFIG_SECURITY_YAMA) += yama/ | |
9b091556 | 30 | obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ |
aeca4e2c | 31 | obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/ |
000d388e | 32 | obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/ |
eec8fd02 | 33 | obj-$(CONFIG_CGROUPS) += device_cgroup.o |
520b7aa0 | 34 | obj-$(CONFIG_BPF_LSM) += bpf/ |
3323eec9 MZ |
35 | |
36 | # Object integrity file lists | |
f381c272 | 37 | subdir-$(CONFIG_INTEGRITY) += integrity |
e0c2de2b | 38 | obj-$(CONFIG_INTEGRITY) += integrity/ |