1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel security code
6 obj-
$(CONFIG_KEYS
) += keys
/
8 # always enable default capabilities
10 obj-
$(CONFIG_SECURITY
) += lsm_syscalls.o
11 obj-
$(CONFIG_MMU
) += min_addr.o
14 obj-
$(CONFIG_SECURITY
) += security.o
15 obj-
$(CONFIG_SECURITYFS
) += inode.o
16 obj-
$(CONFIG_SECURITY_SELINUX
) += selinux
/
17 obj-
$(CONFIG_SECURITY_SMACK
) += smack
/
18 obj-
$(CONFIG_SECURITY
) += lsm_audit.o
19 obj-
$(CONFIG_SECURITY_TOMOYO
) += tomoyo
/
20 obj-
$(CONFIG_SECURITY_APPARMOR
) += apparmor
/
21 obj-
$(CONFIG_SECURITY_YAMA
) += yama
/
22 obj-
$(CONFIG_SECURITY_LOADPIN
) += loadpin
/
23 obj-
$(CONFIG_SECURITY_SAFESETID
) += safesetid
/
24 obj-
$(CONFIG_SECURITY_LOCKDOWN_LSM
) += lockdown
/
25 obj-
$(CONFIG_CGROUPS
) += device_cgroup.o
26 obj-
$(CONFIG_BPF_LSM
) += bpf
/
27 obj-
$(CONFIG_SECURITY_LANDLOCK
) += landlock
/
28 obj-
$(CONFIG_SECURITY_IPE
) += ipe
/
30 # Object integrity file lists
31 obj-
$(CONFIG_INTEGRITY
) += integrity
/