summaryrefslogtreecommitdiffstats
path: root/source/client
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
commited46d9aef3b423f583475da77db672b685ddf531 (patch)
treefcadc2999ca9091e9e3d9edacf4c4db3a4edca63 /source/client
parentd5dac6c5e220b528b2f52689143fddc9af48e55b (diff)
downloadsamba-ed46d9aef3b423f583475da77db672b685ddf531.tar.gz
samba-ed46d9aef3b423f583475da77db672b685ddf531.tar.xz
samba-ed46d9aef3b423f583475da77db672b685ddf531.zip
urban's changes for nosuid,nodev
Diffstat (limited to 'source/client')
-rw-r--r--source/client/smbmnt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/client/smbmnt.c b/source/client/smbmnt.c
index c04be3b7af2..753a31c3139 100644
--- a/source/client/smbmnt.c
+++ b/source/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;