summaryrefslogtreecommitdiff
path: root/package/samba/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2011-10-17 14:49:31 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2011-10-17 14:49:31 +0200
commitf95254a21d2bffc3e3f0d9cbefe6b75a70b67922 (patch)
treedeae596cb5af269e3baead056474ce33dfdbd637 /package/samba/patches
parente02c82ed9bf6f1f415f49b4666cbeb95fecd5335 (diff)
update to latest stable version
Diffstat (limited to 'package/samba/patches')
-rw-r--r--package/samba/patches/patch-client_mount_cifs_c19
-rw-r--r--package/samba/patches/patch-source3_registry_reg_perfcount_c20
2 files changed, 0 insertions, 39 deletions
diff --git a/package/samba/patches/patch-client_mount_cifs_c b/package/samba/patches/patch-client_mount_cifs_c
deleted file mode 100644
index 4ddd91f9c..000000000
--- a/package/samba/patches/patch-client_mount_cifs_c
+++ /dev/null
@@ -1,19 +0,0 @@
---- 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
diff --git a/package/samba/patches/patch-source3_registry_reg_perfcount_c b/package/samba/patches/patch-source3_registry_reg_perfcount_c
deleted file mode 100644
index 684036b5b..000000000
--- a/package/samba/patches/patch-source3_registry_reg_perfcount_c
+++ /dev/null
@@ -1,20 +0,0 @@
---- samba-3.5.3.orig/source3/registry/reg_perfcount.c 2010-05-17 13:51:23.000000000 +0200
-+++ samba-3.5.3/source3/registry/reg_perfcount.c 2010-06-11 12:21:42.911613348 +0200
-@@ -618,14 +618,14 @@ static bool _reg_perfcount_add_counter(s
- obj = NULL;
- memset(buf, 0, PERFCOUNT_MAX_LEN);
- memcpy(buf, data.dptr, data.dsize);
-- begin = index(buf, '[');
-- end = index(buf, ']');
-+ begin = strchr(buf, '[');
-+ end = strchr(buf, ']');
- if(begin == NULL || end == NULL)
- return False;
- start = begin+1;
-
- while(start < end) {
-- stop = index(start, ',');
-+ stop = strchr(start, ',');
- if(stop == NULL)
- stop = end;
- *stop = '\0';