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