mirror of
https://github.com/torvalds/linux.git
synced 2024-12-05 02:23:16 +00:00
d3d929a8b0
Add selftests for the three system calls supporting the LSM infrastructure. This set of tests is limited by the differences in access policy enforced by the existing security modules. Signed-off-by: Casey Schaufler <casey@schaufler-ca.com> Reviewed-by: Mickaël Salaün <mic@digikod.net> Tested-by: Mickaël Salaün <mic@digikod.net> Signed-off-by: Paul Moore <paul@paul-moore.com>
18 lines
496 B
Makefile
18 lines
496 B
Makefile
# SPDX-License-Identifier: GPL-2.0
|
|
#
|
|
# First run: make -C ../../../.. headers_install
|
|
|
|
CFLAGS += -Wall -O2 $(KHDR_INCLUDES)
|
|
LOCAL_HDRS += common.h
|
|
|
|
TEST_GEN_PROGS := lsm_get_self_attr_test lsm_list_modules_test \
|
|
lsm_set_self_attr_test
|
|
|
|
include ../lib.mk
|
|
|
|
$(OUTPUT)/lsm_get_self_attr_test: lsm_get_self_attr_test.c common.c
|
|
$(OUTPUT)/lsm_set_self_attr_test: lsm_set_self_attr_test.c common.c
|
|
$(OUTPUT)/lsm_list_modules_test: lsm_list_modules_test.c common.c
|
|
|
|
EXTRA_CLEAN = $(OUTPUT)/common.o
|