]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
Define O_PATH and O_NOFOLLOW for Android
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 29 Sep 2015 18:59:28 +0000 (14:59 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 29 Sep 2015 18:59:28 +0000 (14:59 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c

index 788cbe136302bb46a559c36dc45a895f8c584574..01774c0f13aa326f255155e20c9a0879ccd0c0c3 100644 (file)
 #define PR_SET_MM_ENV_END 11
 #endif
 
+#ifndef O_PATH
+#define O_PATH      010000000
+#endif
+
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW  00400000
+#endif
+
 lxc_log_define(lxc_utils, lxc);
 
 /*