162306a36Sopenharmony_ci# SPDX-License-Identifier: GPL-2.0 262306a36Sopenharmony_ci# 362306a36Sopenharmony_ci# Makefile for the kernel security code 462306a36Sopenharmony_ci# 562306a36Sopenharmony_ci 662306a36Sopenharmony_ciobj-$(CONFIG_KEYS) += keys/ 762306a36Sopenharmony_cisubdir-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) += container_escape_detection 862306a36Sopenharmony_ci 962306a36Sopenharmony_ci# always enable default capabilities 1062306a36Sopenharmony_ciobj-y += commoncap.o 1162306a36Sopenharmony_ciobj-$(CONFIG_MMU) += min_addr.o 1262306a36Sopenharmony_ci 1362306a36Sopenharmony_ci# Object file lists 1462306a36Sopenharmony_ciobj-$(CONFIG_SECURITY) += security.o 1562306a36Sopenharmony_ciobj-$(CONFIG_SECURITYFS) += inode.o 1662306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_SELINUX) += selinux/ 1762306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_SMACK) += smack/ 1862306a36Sopenharmony_ciobj-$(CONFIG_SECURITY) += lsm_audit.o 1962306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ 2062306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ 2162306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_YAMA) += yama/ 2262306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ 2362306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_SAFESETID) += safesetid/ 2462306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/ 2562306a36Sopenharmony_ciobj-$(CONFIG_CGROUPS) += device_cgroup.o 2662306a36Sopenharmony_ciobj-$(CONFIG_BPF_LSM) += bpf/ 2762306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_XPM) += xpm/ 2862306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_LANDLOCK) += landlock/ 2962306a36Sopenharmony_ciobj-$(CONFIG_SECURITY_CONTAINER_ESCAPE_DETECTION) += container_escape_detection/ 3062306a36Sopenharmony_ci 3162306a36Sopenharmony_ci# Object integrity file lists 3262306a36Sopenharmony_ciobj-$(CONFIG_INTEGRITY) += integrity/ 33