From: Stéphane Graber Date: Tue, 29 Sep 2015 18:59:28 +0000 (-0400) Subject: Define O_PATH and O_NOFOLLOW for Android X-Git-Tag: lxc-1.0.8~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=27ec06f902d4433ae87f03b25395da7003438bd3;p=thirdparty%2Flxc.git Define O_PATH and O_NOFOLLOW for Android Signed-off-by: Stéphane Graber --- diff --git a/src/lxc/utils.c b/src/lxc/utils.c index 435532d99..214c5a8c9 100644 --- a/src/lxc/utils.c +++ b/src/lxc/utils.c @@ -45,6 +45,14 @@ #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); /*