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