projects
/
util-vserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
2786261
)
Default to no attribute change for bind mounts.
author
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 21 Nov 2009 09:44:00 +0000 (09:44 +0000)
committer
Daniel Hokka Zakrisson
<daniel@hozac.com>
Sat, 21 Nov 2009 09:44:00 +0000 (09:44 +0000)
git-svn-id: http://svn.linux-vserver.org/svn/util-vserver/trunk@2859
94cd875c
-1c1d-0410-91d2-
eb244daf1a30
src/secure-mount.c
patch
|
blob
|
history
diff --git
a/src/secure-mount.c
b/src/secure-mount.c
index
4cf996f
..
1a3bc19
100644
(file)
--- a/
src/secure-mount.c
+++ b/
src/secure-mount.c
@@
-460,7
+460,7
@@
mountSingle(struct MountInfo const *mnt, struct Options const *opt)
return false;
}
if ((mnt->flag & MS_BIND) &&
- (mnt->flag & ~(MS_BIND|MS_REC))) {
+ (mnt->mask & ~(MS_BIND|MS_REC))) {
/* This is needed to put us in the new mountpoint */
if (!secureChdir(mnt->dst, opt))
return false;