git://git.onelab.eu
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dbcf452
)
This change is to fix the Trellis build. Missed this file in the previous changeset.
trellis
author
Sapan Bhatia
<sapanb@cs.princeton.edu>
Fri, 9 Oct 2009 22:10:52 +0000
(22:10 +0000)
committer
Sapan Bhatia
<sapanb@cs.princeton.edu>
Fri, 9 Oct 2009 22:10:52 +0000
(22:10 +0000)
src/vcontext.c
patch
|
blob
|
history
diff --git
a/src/vcontext.c
b/src/vcontext.c
index
8e68231
..
c505889
100644
(file)
--- a/
src/vcontext.c
+++ b/
src/vcontext.c
@@
-39,6
+39,11
@@
#include <grp.h>
#include <sys/mount.h>
+// Make this version of util-vserver build in one of PL's builds with an old mount.h
+#if defined(_SYS_MOUNT_H) && !defined(MNT_DETACH)
+#define MNT_DETACH 2
+#endif
+
#include <linux/personality.h>
#define ENSC_WRAPPERS_PREFIX "vcontext: "