Merge tag 'apparmor-pr-2021-11-10' of git://git.kernel.org/pub/scm/linux/kernel/git...
[platform/kernel/linux-starfive.git] / security / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the kernel security code
4 #
5
6 obj-$(CONFIG_KEYS)                      += keys/
7
8 # always enable default capabilities
9 obj-y                                   += commoncap.o
10 obj-$(CONFIG_MMU)                       += min_addr.o
11
12 # Object file lists
13 obj-$(CONFIG_SECURITY)                  += security.o
14 obj-$(CONFIG_SECURITYFS)                += inode.o
15 obj-$(CONFIG_SECURITY_SELINUX)          += selinux/
16 obj-$(CONFIG_SECURITY_SMACK)            += smack/
17 obj-$(CONFIG_SECURITY)                  += lsm_audit.o
18 obj-$(CONFIG_SECURITY_TOMOYO)           += tomoyo/
19 obj-$(CONFIG_SECURITY_APPARMOR)         += apparmor/
20 obj-$(CONFIG_SECURITY_YAMA)             += yama/
21 obj-$(CONFIG_SECURITY_LOADPIN)          += loadpin/
22 obj-$(CONFIG_SECURITY_SAFESETID)       += safesetid/
23 obj-$(CONFIG_SECURITY_LOCKDOWN_LSM)     += lockdown/
24 obj-$(CONFIG_CGROUPS)                   += device_cgroup.o
25 obj-$(CONFIG_BPF_LSM)                   += bpf/
26 obj-$(CONFIG_SECURITY_LANDLOCK)         += landlock/
27
28 # Object integrity file lists
29 obj-$(CONFIG_INTEGRITY)                 += integrity/