summaryrefslogtreecommitdiff
path: root/package/samba/patches/patch-client_mount_cifs_c
diff options
context:
space:
mode:
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