1 # SPDX-License-Identifier: GPL-2.0 1 # SPDX-License-Identifier: GPL-2.0 2 # 2 # 3 # Makefile for the kernel security code 3 # Makefile for the kernel security code 4 # 4 # 5 5 6 obj-$(CONFIG_KEYS) += key 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 subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown >> 15 subdir-$(CONFIG_BPF_LSM) += bpf >> 16 subdir-$(CONFIG_SECURITY_LANDLOCK) += landlock 7 17 8 # always enable default capabilities 18 # always enable default capabilities 9 obj-y += com 19 obj-y += commoncap.o 10 obj-$(CONFIG_SECURITY) += lsm << 11 obj-$(CONFIG_MMU) += min 20 obj-$(CONFIG_MMU) += min_addr.o 12 21 13 # Object file lists 22 # Object file lists 14 obj-$(CONFIG_SECURITY) += sec 23 obj-$(CONFIG_SECURITY) += security.o 15 obj-$(CONFIG_SECURITYFS) += ino 24 obj-$(CONFIG_SECURITYFS) += inode.o 16 obj-$(CONFIG_SECURITY_SELINUX) += sel 25 obj-$(CONFIG_SECURITY_SELINUX) += selinux/ 17 obj-$(CONFIG_SECURITY_SMACK) += sma 26 obj-$(CONFIG_SECURITY_SMACK) += smack/ 18 obj-$(CONFIG_SECURITY) += lsm 27 obj-$(CONFIG_SECURITY) += lsm_audit.o 19 obj-$(CONFIG_SECURITY_TOMOYO) += tom 28 obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ 20 obj-$(CONFIG_SECURITY_APPARMOR) += app 29 obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ 21 obj-$(CONFIG_SECURITY_YAMA) += yam 30 obj-$(CONFIG_SECURITY_YAMA) += yama/ 22 obj-$(CONFIG_SECURITY_LOADPIN) += loa 31 obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ 23 obj-$(CONFIG_SECURITY_SAFESETID) += safe 32 obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/ 24 obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += loc 33 obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/ 25 obj-$(CONFIG_CGROUPS) += dev 34 obj-$(CONFIG_CGROUPS) += device_cgroup.o 26 obj-$(CONFIG_BPF_LSM) += bpf 35 obj-$(CONFIG_BPF_LSM) += bpf/ 27 obj-$(CONFIG_SECURITY_LANDLOCK) += lan 36 obj-$(CONFIG_SECURITY_LANDLOCK) += landlock/ 28 37 29 # Object integrity file lists 38 # Object integrity file lists >> 39 subdir-$(CONFIG_INTEGRITY) += integrity 30 obj-$(CONFIG_INTEGRITY) += int 40 obj-$(CONFIG_INTEGRITY) += integrity/ 31 41 32 subdir-$(CONFIG_CCSECURITY) += ccs 42 subdir-$(CONFIG_CCSECURITY) += ccsecurity 33 obj-$(CONFIG_CCSECURITY) += ccs 43 obj-$(CONFIG_CCSECURITY) += ccsecurity/
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.