]> 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:53 +0000 (14:59 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/lxc/utils.c

index 435532d99b77e87f04811e68c6bdc995b0b64d69..214c5a8c91867c76b3bae27260c275273c7c9b16 100644 (file)
 #include "log.h"
 #include "lxclock.h"
 
+#ifndef O_PATH
+#define O_PATH      010000000
+#endif
+
+#ifndef O_NOFOLLOW
+#define O_NOFOLLOW  00400000
+#endif
+
 lxc_log_define(lxc_utils, lxc);
 
 /*