summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2004-02-13 17:32:20 +0000
committerGerald Carter <jerry@samba.org>2004-02-13 17:32:20 +0000
commit663f07d63b9dad6cff09dd8890c3c5974799b503 (patch)
tree4b545957cdac9e2d3c77bfc38a2f0c9e805baeaa
parentbd5bf35c24295eeb55097c9debc7ed56b026464f (diff)
downloadsamba-663f07d63b9dad6cff09dd8890c3c5974799b503.tar.gz
samba-663f07d63b9dad6cff09dd8890c3c5974799b503.tar.bz2
samba-663f07d63b9dad6cff09dd8890c3c5974799b503.zip
urban's changes for nosuid,nodev
(This used to be commit ed46d9aef3b423f583475da77db672b685ddf531)
-rw-r--r--source3/client/smbmnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/client/smbmnt.c b/source3/client/smbmnt.c
index c04be3b7af..753a31c313 100644
--- a/source3/client/smbmnt.c
+++ b/source3/client/smbmnt.c
@@ -240,7 +240,7 @@ do_mount(char *share_name, unsigned int flags, struct smb_mount_data *data)
data.dir_mode |= S_IXOTH;
}
- flags = MS_MGC_VAL;
+ flags = MS_MGC_VAL | MS_NOSUID | MS_NODEV;
if (mount_ro) flags |= MS_RDONLY;