# SPDX-License-Identifier: GPL-2.0 # # Makefile for the kernel security code # obj-$([31mCONFIG_KEYS[0m) += keys/ subdir-$([31mCONFIG_SECURITY_SELINUX[0m) += selinux subdir-$([31mCONFIG_SECURITY_SMACK[0m) += smack subdir-$([31mCONFIG_SECURITY_TOMOYO[0m) += tomoyo subdir-$([31mCONFIG_SECURITY_APPARMOR[0m) += apparmor subdir-$([31mCONFIG_SECURITY_YAMA[0m) += yama subdir-$([31mCONFIG_SECURITY_LOADPIN[0m) += loadpin subdir-$([31mCONFIG_SECURITY_SAFESETID[0m) += safesetid subdir-$([31mCONFIG_SECURITY_LOCKDOWN_LSM[0m) += lockdown # always enable default capabilities obj-y += commoncap.o obj-$([31mCONFIG_MMU[0m) += min_addr.o # Object file lists obj-$([31mCONFIG_SECURITY[0m) += security.o obj-$([31mCONFIG_SECURITYFS[0m) += inode.o obj-$([31mCONFIG_SECURITY_SELINUX[0m) += selinux/ obj-$([31mCONFIG_SECURITY_SMACK[0m) += smack/ obj-$([31mCONFIG_AUDIT[0m) += lsm_audit.o obj-$([31mCONFIG_SECURITY_TOMOYO[0m) += tomoyo/ obj-$([31mCONFIG_SECURITY_APPARMOR[0m) += apparmor/ obj-$([31mCONFIG_SECURITY_YAMA[0m) += yama/ obj-$([31mCONFIG_SECURITY_LOADPIN[0m) += loadpin/ obj-$([31mCONFIG_SECURITY_SAFESETID[0m) += safesetid/ obj-$([31mCONFIG_SECURITY_LOCKDOWN_LSM[0m) += lockdown/ obj-$([31mCONFIG_CGROUP_DEVICE[0m) += device_cgroup.o # Object integrity file lists subdir-$([31mCONFIG_INTEGRITY[0m) += integrity obj-$([31mCONFIG_INTEGRITY[0m) += integrity/ |