]> git.ipfire.org Git - thirdparty/kernel/linux.git/blob - security/Makefile
Linux 6.9-rc7
[thirdparty/kernel/linux.git] / security / Makefile
1 # SPDX-License-Identifier: GPL-2.0
2 #
3 # Makefile for the kernel security code
4 #
5
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
15 # always enable default capabilities
16 obj-y += commoncap.o
17 obj-$(CONFIG_MMU) += min_addr.o
18
19 # Object file lists
20 obj-$(CONFIG_SECURITY) += security.o
21 obj-$(CONFIG_SECURITYFS) += inode.o
22 obj-$(CONFIG_SECURITY_SELINUX) += selinux/
23 obj-$(CONFIG_SECURITY_SMACK) += smack/
24 obj-$(CONFIG_AUDIT) += lsm_audit.o
25 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
26 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
27 obj-$(CONFIG_SECURITY_YAMA) += yama/
28 obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
29 obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
30 obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
31
32 # Object integrity file lists
33 subdir-$(CONFIG_INTEGRITY) += integrity
34 obj-$(CONFIG_INTEGRITY) += integrity/