aboutsummaryrefslogtreecommitdiffstats
path: root/tools/testing/selftests/openat2/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/testing/selftests/openat2/Makefile')
-rw-r--r--tools/testing/selftests/openat2/Makefile8
1 files changed, 8 insertions, 0 deletions
diff --git a/tools/testing/selftests/openat2/Makefile b/tools/testing/selftests/openat2/Makefile
new file mode 100644
index 000000000000..4b93b1417b86
--- /dev/null
+++ b/tools/testing/selftests/openat2/Makefile
@@ -0,0 +1,8 @@
+# SPDX-License-Identifier: GPL-2.0-or-later
+
+CFLAGS += -Wall -O2 -g -fsanitize=address -fsanitize=undefined
+TEST_GEN_PROGS := openat2_test resolve_test rename_attack_test
+
+include ../lib.mk
+
+$(TEST_GEN_PROGS): helpers.c