git.samba.org
/
nivanova
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bd5bf35
)
urban's changes for nosuid,nodev
author
Gerald Carter
<jerry@samba.org>
Fri, 13 Feb 2004 17:32:20 +0000
(17:32 +0000)
committer
Gerald Carter
<jerry@samba.org>
Fri, 13 Feb 2004 17:32:20 +0000
(17:32 +0000)
(This used to be commit
ed46d9aef3b423f583475da77db672b685ddf531
)
source3/client/smbmnt.c
patch
|
blob
|
history
diff --git
a/source3/client/smbmnt.c
b/source3/client/smbmnt.c
index c04be3b7af22b412770c6843d8f614c1a3f7b8bd..753a31c3139f0f0b6cee95f5694b28ec81c03951 100644
(file)
--- 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;