Skip to content

Commit

Permalink
Handle MS_LAZYTIME not being available
Browse files Browse the repository at this point in the history
  • Loading branch information
peterebden committed Oct 30, 2017
1 parent 6af5368 commit 1e74b55
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions tools/sandbox/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,11 @@
#include <sys/prctl.h>
#include <sys/types.h>

// 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).
Expand Down

0 comments on commit 1e74b55

Please sign in to comment.