Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | # |
| 2 | # Makefile for the kernel security code |
| 3 | # |
| 4 | |
| 5 | obj-$(CONFIG_KEYS) += keys/ |
| 6 | subdir-$(CONFIG_SECURITY_SELINUX) += selinux |
Casey Schaufler | e114e47 | 2008-02-04 22:29:50 -0800 | [diff] [blame] | 7 | subdir-$(CONFIG_SECURITY_SMACK) += smack |
Kentaro Takeda | 00d7d6f | 2009-02-05 17:18:17 +0900 | [diff] [blame] | 8 | subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo |
John Johansen | f9ad1af | 2010-07-29 14:48:08 -0700 | [diff] [blame] | 9 | subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor |
Kees Cook | 2d51448 | 2011-12-21 12:17:04 -0800 | [diff] [blame] | 10 | subdir-$(CONFIG_SECURITY_YAMA) += yama |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 12 | # always enable default capabilities |
David Howells | 6e14154 | 2009-12-15 19:27:45 +0000 | [diff] [blame] | 13 | obj-y += commoncap.o |
| 14 | obj-$(CONFIG_MMU) += min_addr.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 15 | |
| 16 | # Object file lists |
Eric Paris | da31894 | 2008-08-22 11:35:57 -0400 | [diff] [blame] | 17 | obj-$(CONFIG_SECURITY) += security.o capability.o |
| 18 | obj-$(CONFIG_SECURITYFS) += inode.o |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 19 | # Must precede capability.o in order to stack properly. |
| 20 | obj-$(CONFIG_SECURITY_SELINUX) += selinux/built-in.o |
Miklos Szeredi | 5915eb5 | 2008-07-03 20:56:05 +0200 | [diff] [blame] | 21 | obj-$(CONFIG_SECURITY_SMACK) += smack/built-in.o |
Thomas Liu | 2bf4969 | 2009-07-14 12:14:09 -0400 | [diff] [blame] | 22 | obj-$(CONFIG_AUDIT) += lsm_audit.o |
James Morris | 42d5aaa | 2009-02-12 16:29:04 +1100 | [diff] [blame] | 23 | obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/built-in.o |
John Johansen | f9ad1af | 2010-07-29 14:48:08 -0700 | [diff] [blame] | 24 | obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/built-in.o |
Kees Cook | 2d51448 | 2011-12-21 12:17:04 -0800 | [diff] [blame] | 25 | obj-$(CONFIG_SECURITY_YAMA) += yama/built-in.o |
Serge E. Hallyn | 08ce5f1 | 2008-04-29 01:00:10 -0700 | [diff] [blame] | 26 | obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o |
Mimi Zohar | 3323eec | 2009-02-04 09:06:58 -0500 | [diff] [blame] | 27 | |
| 28 | # Object integrity file lists |
Mimi Zohar | f381c27 | 2011-03-09 14:13:22 -0500 | [diff] [blame] | 29 | subdir-$(CONFIG_INTEGRITY) += integrity |
| 30 | obj-$(CONFIG_INTEGRITY) += integrity/built-in.o |