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 (from parent 1:
a36216a
)
fix for bind mount problem
author
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 17 Sep 2004 20:08:04 +0000
(20:08 +0000)
committer
Marc Fiuczynski
<mef@cs.princeton.edu>
Fri, 17 Sep 2004 20:08:04 +0000
(20:08 +0000)
src/planetlab.c
patch
|
blob
|
history
diff --git
a/src/planetlab.c
b/src/planetlab.c
index
ad7a120
..
cc2035b
100644
(file)
--- a/
src/planetlab.c
+++ b/
src/planetlab.c
@@
-136,7
+136,7
@@
static void mount_proc(char *sandbox_root,uid_t uid)
sprintf(target, "%s/proc", sandbox_root);
target[len - 1] = '\0';
if (!proc_mounted(sandbox_root))
sprintf(target, "%s/proc", sandbox_root);
target[len - 1] = '\0';
if (!proc_mounted(sandbox_root))
- mount(source, target, "proc", MS_RDONLY, NULL);
+ mount(source, target, "proc", MS_
BIND | MS_
RDONLY, NULL);
free(target);
}
free(target);
}