Searched refs:global_secflags (Results 1 – 8 of 8) sorted by relevance
582 seq_printf(m, "0x%x\n", global_secflags); in cifs_security_flags_proc_show()640 global_secflags = bv ? CIFSSEC_MAX : CIFSSEC_DEF; in cifs_security_flags_proc_write()673 global_secflags = flags; in cifs_security_flags_proc_write()674 if (global_secflags & CIFSSEC_MUST_SIGN) { in cifs_security_flags_proc_write()676 global_secflags |= CIFSSEC_MAY_SIGN; in cifs_security_flags_proc_write()678 } else if ((global_secflags & CIFSSEC_MAY_SIGN) == 0) { in cifs_security_flags_proc_write()
493 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in select_sectype()496 (global_secflags & CIFSSEC_MAY_KRB5)) in select_sectype()508 if (global_secflags & CIFSSEC_MAY_NTLMV2) in select_sectype()510 if (global_secflags & CIFSSEC_MAY_NTLM) in select_sectype()521 if (global_secflags & CIFSSEC_MAY_LANMAN) in select_sectype()
315 if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) { in calc_lanman_hash()
410 else if (global_secflags & CIFSSEC_MAY_SIGN) in SMB2_negotiate()532 else if (global_secflags & CIFSSEC_MAY_SIGN) in smb3_validate_negotiate()640 else if (global_secflags & CIFSSEC_MAY_SIGN) /* one flag unlike MUST_ */ in SMB2_sess_setup()
1592 GLOBAL_EXTERN unsigned int global_secflags; /* if on, session setup sent variable
61 unsigned int global_secflags = CIFSSEC_DEF; variable
408 bool mnt_sign_enabled = global_secflags & CIFSSEC_MAY_SIGN; in cifs_enable_signing()415 mnt_sign_required = ((global_secflags & CIFSSEC_MUST_SIGN) == in cifs_enable_signing()423 (global_secflags & CIFSSEC_MAY_SIGN); in cifs_enable_signing()535 if (global_secflags & in should_set_ext_sec_flag()
3779 if ((global_secflags & CIFSSEC_MAY_LANMAN) && in CIFSTCon()