From 1e74b55ea4395191674f800fe6cba4fa1db8f209 Mon Sep 17 00:00:00 2001 From: Peter Ebden Date: Mon, 30 Oct 2017 12:08:26 +0000 Subject: [PATCH] Handle MS_LAZYTIME not being available --- tools/sandbox/main.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tools/sandbox/main.c b/tools/sandbox/main.c index 8bcba5566c..17402da5ad 100644 --- a/tools/sandbox/main.c +++ b/tools/sandbox/main.c @@ -21,6 +21,11 @@ #include #include +// TODO(peterebden): Remove the following once our build machine gets updated... +#ifndef MS_LAZYTIME +#define MS_LAZYTIME (1<<25) +#endif + // drop_root is ported more or less directly from Chrome's chrome-sandbox helper. // It simply drops us back to whatever user invoked us originally (i.e. before suid // got involved).