aboutsummaryrefslogtreecommitdiffstats
path: root/fs
diff options
context:
space:
mode:
Diffstat (limited to 'fs')
-rw-r--r--fs/cifs/cifsglob.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/fs/cifs/cifsglob.h b/fs/cifs/cifsglob.h
index 9b7762c754cb..87f51f23276f 100644
--- a/fs/cifs/cifsglob.h
+++ b/fs/cifs/cifsglob.h
@@ -499,11 +499,13 @@ require use of the stronger protocol */
499#define CIFSSEC_MASK 0x3F03F /* allows weak security but also krb5 */ 499#define CIFSSEC_MASK 0x3F03F /* allows weak security but also krb5 */
500#else 500#else
501#define CIFSSEC_MASK 0x37037 /* current flags supported if weak */ 501#define CIFSSEC_MASK 0x37037 /* current flags supported if weak */
502#endif /* UPCALL */
502#else /* do not allow weak pw hash */ 503#else /* do not allow weak pw hash */
503#ifdef CONFIG_CIFS_UPCALL 504#ifdef CONFIG_CIFS_UPCALL
504#define CIFSSEC_MASK 0x0F00F /* flags supported if no weak allowed */ 505#define CIFSSEC_MASK 0x0F00F /* flags supported if no weak allowed */
505#else 506#else
506#define CIFSSEC_MASK 0x07007 /* flags supported if no weak allowed */ 507#define CIFSSEC_MASK 0x07007 /* flags supported if no weak allowed */
508#endif /* UPCALL */
507#endif /* WEAK_PW_HASH */ 509#endif /* WEAK_PW_HASH */
508#define CIFSSEC_MUST_SEAL 0x40040 /* not supported yet */ 510#define CIFSSEC_MUST_SEAL 0x40040 /* not supported yet */
509 511