Home
last modified time | relevance | path

Searched refs:global_secflags (Results 1 – 8 of 8) sorted by relevance

/kernel/linux/linux-5.10/fs/cifs/
Dcifs_debug.c886 seq_printf(m, "0x%x\n", global_secflags); in cifs_security_flags_proc_show()
942 global_secflags = bv ? CIFSSEC_MAX : CIFSSEC_DEF; in cifs_security_flags_proc_write()
975 global_secflags = flags; in cifs_security_flags_proc_write()
976 if (global_secflags & CIFSSEC_MUST_SIGN) { in cifs_security_flags_proc_write()
978 global_secflags |= CIFSSEC_MAY_SIGN; in cifs_security_flags_proc_write()
980 } else if ((global_secflags & CIFSSEC_MAY_SIGN) == 0) { in cifs_security_flags_proc_write()
Dsess.c803 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in cifs_select_sectype()
806 (global_secflags & CIFSSEC_MAY_KRB5)) in cifs_select_sectype()
818 if (global_secflags & CIFSSEC_MAY_NTLMV2) in cifs_select_sectype()
820 if (global_secflags & CIFSSEC_MAY_NTLM) in cifs_select_sectype()
831 if (global_secflags & CIFSSEC_MAY_LANMAN) in cifs_select_sectype()
Dcifsencrypt.c320 if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) { in calc_lanman_hash()
Dsmb2pdu.c837 else if (global_secflags & CIFSSEC_MAY_SIGN) in SMB2_negotiate()
1046 else if (global_secflags & CIFSSEC_MAY_SIGN) in smb3_validate_negotiate()
1147 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in smb2_select_sectype()
1150 (global_secflags & CIFSSEC_MAY_KRB5)) in smb2_select_sectype()
1214 else if (global_secflags & CIFSSEC_MAY_SIGN) /* one flag unlike MUST_ */ in SMB2_sess_alloc_buffer()
Dcifsglob.h1950 extern unsigned int global_secflags; /* if on, session setup sent
Dcifsfs.c76 unsigned int global_secflags = CIFSSEC_DEF; variable
Dcifssmb.c449 bool mnt_sign_enabled = global_secflags & CIFSSEC_MAY_SIGN; in cifs_enable_signing()
456 mnt_sign_required = ((global_secflags & CIFSSEC_MUST_SIGN) == in cifs_enable_signing()
464 (global_secflags & CIFSSEC_MAY_SIGN); in cifs_enable_signing()
581 if (global_secflags & in should_set_ext_sec_flag()
Dconnect.c4866 if ((global_secflags & CIFSSEC_MAY_LANMAN) && in CIFSTCon()