1 # SPDX-License-Identifier: GPL-2.0 2 noarg: 3 $(MAKE) -C ../ 4 5 TEST_GEN_PROGS := hugetlb_vs_thp_test subpage_prot prot_sao segv_errors wild_bctr \ 6 large_vm_fork_separation bad_accesses exec_prot pkey_exec_prot \ 7 pkey_siginfo stack_expansion_signal stack_expansion_ldst \ 8 large_vm_gpr_corruption 9 TEST_PROGS := stress_code_patching.sh 10 11 TEST_GEN_PROGS_EXTENDED := tlbie_test 12 TEST_GEN_FILES := tempfile 13 14 top_srcdir = ../../../../.. 15 include ../../lib.mk 16 include ../flags.mk 17 18 $(TEST_GEN_PROGS): ../harness.c ../utils.c 19 20 $(OUTPUT)/prot_sao: ../utils.c 21 22 $(OUTPUT)/wild_bctr: CFLAGS += -m64 23 $(OUTPUT)/large_vm_fork_separation: CFLAGS += -m64 24 $(OUTPUT)/large_vm_gpr_corruption: CFLAGS += -m64 25 $(OUTPUT)/bad_accesses: CFLAGS += -m64 26 $(OUTPUT)/exec_prot: CFLAGS += -m64 27 $(OUTPUT)/pkey_exec_prot: CFLAGS += -m64 28 $(OUTPUT)/pkey_siginfo: CFLAGS += -m64 29 30 $(OUTPUT)/stack_expansion_signal: ../utils.c ../pmu/lib.c 31 32 $(OUTPUT)/stack_expansion_ldst: CFLAGS += -fno-stack-protector 33 $(OUTPUT)/stack_expansion_ldst: ../utils.c 34 35 $(OUTPUT)/tempfile: 36 dd if=/dev/zero of=$@ bs=64k count=1 status=none 37 38 $(OUTPUT)/tlbie_test: LDLIBS += -lpthread 39 $(OUTPUT)/pkey_siginfo: LDLIBS += -lpthread
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.