bpf: lsm: Implement attach, detach and execution
[linux-block.git] / security / Makefile
CommitLineData
b2441318 1# SPDX-License-Identifier: GPL-2.0
1da177e4
LT
2#
3# Makefile for the kernel security code
4#
5
6obj-$(CONFIG_KEYS) += keys/
7subdir-$(CONFIG_SECURITY_SELINUX) += selinux
e114e473 8subdir-$(CONFIG_SECURITY_SMACK) += smack
00d7d6f8 9subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
f9ad1af5 10subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
2d514487 11subdir-$(CONFIG_SECURITY_YAMA) += yama
9b091556 12subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
aeca4e2c 13subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
000d388e 14subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
1da177e4 15
5915eb53 16# always enable default capabilities
6e141546
DH
17obj-y += commoncap.o
18obj-$(CONFIG_MMU) += min_addr.o
1da177e4
LT
19
20# Object file lists
b1d9e6b0 21obj-$(CONFIG_SECURITY) += security.o
da31894e 22obj-$(CONFIG_SECURITYFS) += inode.o
e0c2de2b
SR
23obj-$(CONFIG_SECURITY_SELINUX) += selinux/
24obj-$(CONFIG_SECURITY_SMACK) += smack/
b2104ac0 25obj-$(CONFIG_SECURITY) += lsm_audit.o
e0c2de2b
SR
26obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
27obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
28obj-$(CONFIG_SECURITY_YAMA) += yama/
9b091556 29obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
aeca4e2c 30obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
000d388e 31obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
08ce5f16 32obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
3323eec9
MZ
33
34# Object integrity file lists
f381c272 35subdir-$(CONFIG_INTEGRITY) += integrity
e0c2de2b 36obj-$(CONFIG_INTEGRITY) += integrity/