Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/checkpoint-restore/criu.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/feature-tests.mak')
-rw-r--r--scripts/feature-tests.mak12
1 files changed, 12 insertions, 0 deletions
diff --git a/scripts/feature-tests.mak b/scripts/feature-tests.mak
index 8df20afb7..592552cb8 100644
--- a/scripts/feature-tests.mak
+++ b/scripts/feature-tests.mak
@@ -184,3 +184,15 @@ int main(void)
return memfd_create(NULL, 0);
}
endef
+
+define FEATURE_TEST_OPENAT2
+
+#include <linux/openat2.h>
+
+int main(void)
+{
+ if (RESOLVE_NO_XDEV > 0)
+ return 0;
+ return 0;
+}
+endef