Makefile (a4654e9bde4ecedb4921e6c8fe2088114bdff1b3) Makefile (520b7aa00d8cd8e411ecc09f63a2acd90feb6d29)
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the kernel security code
4#
5
6obj-$(CONFIG_KEYS) += keys/
7subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8subdir-$(CONFIG_SECURITY_SMACK) += smack
9subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11subdir-$(CONFIG_SECURITY_YAMA) += yama
12subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
13subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
14subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
1# SPDX-License-Identifier: GPL-2.0
2#
3# Makefile for the kernel security code
4#
5
6obj-$(CONFIG_KEYS) += keys/
7subdir-$(CONFIG_SECURITY_SELINUX) += selinux
8subdir-$(CONFIG_SECURITY_SMACK) += smack
9subdir-$(CONFIG_SECURITY_TOMOYO) += tomoyo
10subdir-$(CONFIG_SECURITY_APPARMOR) += apparmor
11subdir-$(CONFIG_SECURITY_YAMA) += yama
12subdir-$(CONFIG_SECURITY_LOADPIN) += loadpin
13subdir-$(CONFIG_SECURITY_SAFESETID) += safesetid
14subdir-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown
15subdir-$(CONFIG_BPF_LSM) += bpf
15
16# always enable default capabilities
17obj-y += commoncap.o
18obj-$(CONFIG_MMU) += min_addr.o
19
20# Object file lists
21obj-$(CONFIG_SECURITY) += security.o
22obj-$(CONFIG_SECURITYFS) += inode.o
23obj-$(CONFIG_SECURITY_SELINUX) += selinux/
24obj-$(CONFIG_SECURITY_SMACK) += smack/
25obj-$(CONFIG_SECURITY) += lsm_audit.o
26obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
27obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
28obj-$(CONFIG_SECURITY_YAMA) += yama/
29obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
30obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
31obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
32obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
16
17# always enable default capabilities
18obj-y += commoncap.o
19obj-$(CONFIG_MMU) += min_addr.o
20
21# Object file lists
22obj-$(CONFIG_SECURITY) += security.o
23obj-$(CONFIG_SECURITYFS) += inode.o
24obj-$(CONFIG_SECURITY_SELINUX) += selinux/
25obj-$(CONFIG_SECURITY_SMACK) += smack/
26obj-$(CONFIG_SECURITY) += lsm_audit.o
27obj-$(CONFIG_SECURITY_TOMOYO) += tomoyo/
28obj-$(CONFIG_SECURITY_APPARMOR) += apparmor/
29obj-$(CONFIG_SECURITY_YAMA) += yama/
30obj-$(CONFIG_SECURITY_LOADPIN) += loadpin/
31obj-$(CONFIG_SECURITY_SAFESETID) += safesetid/
32obj-$(CONFIG_SECURITY_LOCKDOWN_LSM) += lockdown/
33obj-$(CONFIG_CGROUP_DEVICE) += device_cgroup.o
34obj-$(CONFIG_BPF_LSM) += bpf/
33
34# Object integrity file lists
35subdir-$(CONFIG_INTEGRITY) += integrity
36obj-$(CONFIG_INTEGRITY) += integrity/
35
36# Object integrity file lists
37subdir-$(CONFIG_INTEGRITY) += integrity
38obj-$(CONFIG_INTEGRITY) += integrity/