summaryrefslogtreecommitdiff
path: root/package/samba/patches/patch-client_mount_cifs_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:06:45 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-06-13 18:06:45 +0200
commit8edb1cd5a6a03b391003a1047e0b3ca6d22acd45 (patch)
tree751b35f97d8dcc1c9da4f0c81d9707701e8d6710 /package/samba/patches/patch-client_mount_cifs_c
parent92dd4fee15cb7c33868c7d7213f82136955397b1 (diff)
bulk package update
Diffstat (limited to 'package/samba/patches/patch-client_mount_cifs_c')
-rw-r--r--package/samba/patches/patch-client_mount_cifs_c19
1 files changed, 19 insertions, 0 deletions
diff --git a/package/samba/patches/patch-client_mount_cifs_c b/package/samba/patches/patch-client_mount_cifs_c
new file mode 100644
index 000000000..4ddd91f9c
--- /dev/null
+++ b/package/samba/patches/patch-client_mount_cifs_c
@@ -0,0 +1,19 @@
+--- samba-3.5.3.orig/client/mount.cifs.c 2010-05-17 13:51:23.000000000 +0200
++++ samba-3.5.3/client/mount.cifs.c 2010-06-11 12:39:34.501613636 +0200
+@@ -39,7 +39,6 @@
+ #include <mntent.h>
+ #include <fcntl.h>
+ #include <limits.h>
+-#include <fstab.h>
+ #include "mount.h"
+
+ #define MOUNT_CIFS_VERSION_MAJOR "1"
+@@ -112,7 +111,7 @@
+ * The legacy behavior is now disabled by default. To reenable it, set the
+ * following #define to true.
+ */
+-#define CIFS_LEGACY_SETUID_CHECK 0
++#define CIFS_LEGACY_SETUID_CHECK 1
+
+ /*
+ * When an unprivileged user runs a setuid mount.cifs, we set certain mount