2017-11-01 15:07:57 +01:00
|
|
|
# SPDX-License-Identifier: GPL-2.0
|
2005-04-16 15:20:36 -07:00
|
|
|
#
|
|
|
|
|
# Makefile for the kernel security code
|
|
|
|
|
#
|
|
|
|
|
|
|
|
|
|
obj-$(CONFIG_KEYS) += keys/
|
|
|
|
|
|
2008-07-03 20:56:05 +02:00
|
|
|
# always enable default capabilities
|
2009-12-15 19:27:45 +00:00
|
|
|
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
|
2008-08-22 11:35:57 -04:00
|
|
|
obj-$(CONFIG_SECURITYFS) += inode.o
|
2014-02-15 22:49:30 +01:00
|
|
|
obj-$(CONFIG_SECURITY_SELINUX) += selinux/
|
|
|
|
|
obj-$(CONFIG_SECURITY_SMACK) += smack/
|
2019-12-10 11:55:41 -05:00
|
|
|
obj-$(CONFIG_SECURITY) += lsm_audit.o
|
2014-02-15 22:49:30 +01:00
|
|
|
obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
|
|
|
|
|
obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
|
|
|
|
|
obj-$(CONFIG_SECURITY_YAMA) += yama/
|
2016-04-20 15:46:28 -07:00
|
|
|
obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
|
2019-01-16 07:46:06 -08:00
|
|
|
obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
|
2019-08-19 17:17:39 -07:00
|
|
|
obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
|
2020-04-03 19:55:28 +02:00
|
|
|
obj-$(CONFIG_CGROUPS) += device_cgroup.o
|
2020-03-29 01:43:53 +01:00
|
|
|
obj-$(CONFIG_BPF_LSM) += bpf/
|
2021-04-22 17:41:11 +02:00
|
|
|
obj-$(CONFIG_SECURITY_LANDLOCK) += landlock/
|
2009-02-04 09:06:58 -05:00
|
|
|
|
|
|
|
|
# Object integrity file lists
|
2014-02-15 22:49:30 +01:00
|
|
|
obj-$(CONFIG_INTEGRITY) += integrity/
|