Files
kernel/security/Makefile
T

39 lines
1.3 KiB
Makefile
Raw Normal View History

# SPDX-License-Identifier: GPL-2.0
2005-04-16 15:20:36 -07:00
#
# Makefile for the kernel security code
#
obj-$(CONFIG_KEYS) += keys/
subdir-$(CONFIG_SECURITY_SELINUX) += selinux
subdir-$(CONFIG_SECURITY_SMACK) += smack
2009-02-05 17:18:17 +09:00
subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
2011-12-21 12:17:04 -08:00
subdir-$(CONFIG_SECURITY_YAMA) += yama
subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
2019-08-19 17:17:39 -07:00
subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
2020-03-29 01:43:53 +01:00
subdir-$(CONFIG_BPF_LSM) += bpf
2005-04-16 15:20:36 -07:00
2008-07-03 20:56:05 +02:00
# always enable default capabilities
obj-y += commoncap.o
obj-$(CONFIG_MMU) += min_addr.o
2005-04-16 15:20:36 -07:00
# Object file lists
2015-05-02 15:11:42 -07:00
obj-$(CONFIG_SECURITY) += security.o
obj-$(CONFIG_SECURITYFS) += inode.o
obj-$(CONFIG_SECURITY_SELINUX) += selinux/
obj-$(CONFIG_SECURITY_SMACK) += smack/
obj-$(CONFIG_SECURITY) += lsm_audit.o
obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
obj-$(CONFIG_SECURITY_YAMA) += yama/
obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
2019-08-19 17:17:39 -07:00
obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
obj-$(CONFIG_CGROUPS) += device_cgroup.o
2020-03-29 01:43:53 +01:00
obj-$(CONFIG_BPF_LSM) += bpf/
# Object integrity file lists
subdir-$(CONFIG_INTEGRITY) += integrity
obj-$(CONFIG_INTEGRITY) += integrity/