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-2.0.0.beta1~115 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4928c7186c4d3578de73fddb3d88038a25a327b3;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 788cbe136..01774c0f1 100644 --- a/src/lxc/utils.c +++ b/src/lxc/utils.c @@ -67,6 +67,14 @@ #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); /*