move some stuff from common.c to neighbor.c
[cor.git] / security / Makefile
blobbe1dd9d2cb2fb90d3969902e456144b6ecc3ea89
1 # SPDX-License-Identifier: GPL-2.0
3 # Makefile for the kernel security code
6 obj-$(CONFIG_KEYS) += keys/
7 subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8 subdir-$(CONFIG_SECURITY_SMACK) += smack
9 subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10 subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11 subdir-$(CONFIG_SECURITY_YAMA) += yama
12 subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
13 subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
14 subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
16 # always enable default capabilities
17 obj-y += commoncap.o
18 obj-$(CONFIG_MMU) += min_addr.o
20 # Object file lists
21 obj-$(CONFIG_SECURITY) += security.o
22 obj-$(CONFIG_SECURITYFS) += inode.o
23 obj-$(CONFIG_SECURITY_SELINUX) += selinux/
24 obj-$(CONFIG_SECURITY_SMACK) += smack/
25 obj-$(CONFIG_AUDIT) += lsm_audit.o
26 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
27 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
28 obj-$(CONFIG_SECURITY_YAMA) += yama/
29 obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
30 obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
31 obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
32 obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
34 # Object integrity file lists
35 subdir-$(CONFIG_INTEGRITY) += integrity
36 obj-$(CONFIG_INTEGRITY) += integrity/