git.samba.org
/
kai
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a229f1
)
Disable dev (MS_NODEV) on user mounts from cifs vfs
author
Steve French
<sfrench@samba.org>
Tue, 17 Feb 2004 21:31:25 +0000
(21:31 +0000)
committer
Steve French
<sfrench@samba.org>
Tue, 17 Feb 2004 21:31:25 +0000
(21:31 +0000)
source/client/mount.cifs.c
patch
|
blob
|
history
diff --git
a/source/client/mount.cifs.c
b/source/client/mount.cifs.c
index 7a51ee4b9b8ec8ec02708b5548193b1c49cc7a03..bb893d0106aea3ec7b2d44947ba329493a11a625 100755
(executable)
--- a/
source/client/mount.cifs.c
+++ b/
source/client/mount.cifs.c
@@
-752,7
+752,7
@@
int main(int argc, char ** argv)
#ifndef CIFS_ALLOW_USR_SUID
/* Do not allow user mounts to control suid flag
for mount unless explicitly built that way */
- flags |= MS_NOSUID;
+ flags |= MS_NOSUID
| MS_NODEV
;
#endif
} else {
printf("mount error: permission denied or not superuser and cifs.mount not installed SUID\n");