Greg Kroah-Hartman | b244131 | 2017-11-01 15:07:57 +0100 | [diff] [blame] | 1 | # SPDX-License-Identifier: GPL-2.0 |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 2 | # |
| 3 | # Makefile for the kernel security code |
| 4 | # |
| 5 | |
| 6 | obj-$(CONFIG_KEYS) += keys/ |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 7 | |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 8 | # always enable default capabilities |
David Howells | 6e14154 | 2009-12-15 19:27:45 +0000 | [diff] [blame] | 9 | obj-y += commoncap.o |
| 10 | obj-$(CONFIG_MMU) += min_addr.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
| 12 | # Object file lists |
Casey Schaufler | b1d9e6b | 2015-05-02 15:11:42 -0700 | [diff] [blame] | 13 | obj-$(CONFIG_SECURITY) += security.o |
Eric Paris | da31894 | 2008-08-22 11:35:57 -0400 | [diff] [blame] | 14 | obj-$(CONFIG_SECURITYFS) += inode.o |
Sam Ravnborg | e0c2de2 | 2014-02-15 22:49:30 +0100 | [diff] [blame] | 15 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/ |
| 16 | obj-$(CONFIG_SECURITY_SMACK) += smack/ |
Stephen Smalley | b2104ac | 2019-12-10 11:55:41 -0500 | [diff] [blame] | 17 | obj-$(CONFIG_SECURITY) += lsm_audit.o |
Sam Ravnborg | e0c2de2 | 2014-02-15 22:49:30 +0100 | [diff] [blame] | 18 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/ |
| 19 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/ |
| 20 | obj-$(CONFIG_SECURITY_YAMA) += yama/ |
Kees Cook | 9b09155 | 2016-04-20 15:46:28 -0700 | [diff] [blame] | 21 | obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/ |
Micah Morton | aeca4e2 | 2019-01-16 07:46:06 -0800 | [diff] [blame] | 22 | obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/ |
Matthew Garrett | 000d388 | 2019-08-19 17:17:39 -0700 | [diff] [blame] | 23 | obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/ |
Odin Ugedal | eec8fd0 | 2020-04-03 19:55:28 +0200 | [diff] [blame] | 24 | obj-$(CONFIG_CGROUPS) += device_cgroup.o |
KP Singh | 520b7aa | 2020-03-29 01:43:53 +0100 | [diff] [blame] | 25 | obj-$(CONFIG_BPF_LSM) += bpf/ |
Mickaël Salaün | 9094544 | 2021-04-22 17:41:11 +0200 | [diff] [blame] | 26 | obj-$(CONFIG_SECURITY_LANDLOCK) += landlock/ |
Mimi Zohar | 3323eec | 2009-02-04 09:06:58 -0500 | [diff] [blame] | 27 | |
| 28 | # Object integrity file lists |
Sam Ravnborg | e0c2de2 | 2014-02-15 22:49:30 +0100 | [diff] [blame] | 29 | obj-$(CONFIG_INTEGRITY) += integrity/ |