patch-client_mount_cifs_c 596 B

12345678910111213141516171819
  1. --- samba-3.5.3.orig/client/mount.cifs.c 2010-05-17 13:51:23.000000000 +0200
  2. +++ samba-3.5.3/client/mount.cifs.c 2010-06-11 12:39:34.501613636 +0200
  3. @@ -39,7 +39,6 @@
  4. #include <mntent.h>
  5. #include <fcntl.h>
  6. #include <limits.h>
  7. -#include <fstab.h>
  8. #include "mount.h"
  9. #define MOUNT_CIFS_VERSION_MAJOR "1"
  10. @@ -112,7 +111,7 @@
  11. * The legacy behavior is now disabled by default. To reenable it, set the
  12. * following #define to true.
  13. */
  14. -#define CIFS_LEGACY_SETUID_CHECK 0
  15. +#define CIFS_LEGACY_SETUID_CHECK 1
  16. /*
  17. * When an unprivileged user runs a setuid mount.cifs, we set certain mount