Home
last modified time | relevance | path

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

/Linux-v4.19/fs/cifs/
Dcifs_debug.c752 seq_printf(m, "0x%x\n", global_secflags); in cifs_security_flags_proc_show()
808 global_secflags = bv ? CIFSSEC_MAX : CIFSSEC_DEF; in cifs_security_flags_proc_write()
841 global_secflags = flags; in cifs_security_flags_proc_write()
842 if (global_secflags & CIFSSEC_MUST_SIGN) { in cifs_security_flags_proc_write()
844 global_secflags |= CIFSSEC_MAY_SIGN; in cifs_security_flags_proc_write()
846 } else if ((global_secflags & CIFSSEC_MAY_SIGN) == 0) { in cifs_security_flags_proc_write()
Dsess.c517 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in cifs_select_sectype()
520 (global_secflags & CIFSSEC_MAY_KRB5)) in cifs_select_sectype()
532 if (global_secflags & CIFSSEC_MAY_NTLMV2) in cifs_select_sectype()
534 if (global_secflags & CIFSSEC_MAY_NTLM) in cifs_select_sectype()
545 if (global_secflags & CIFSSEC_MAY_LANMAN) in cifs_select_sectype()
Dsmb2pdu.c657 else if (global_secflags & CIFSSEC_MAY_SIGN) in SMB2_negotiate()
848 else if (global_secflags & CIFSSEC_MAY_SIGN) in smb3_validate_negotiate()
939 (global_secflags & CIFSSEC_MAY_NTLMSSP)) in smb2_select_sectype()
942 (global_secflags & CIFSSEC_MAY_KRB5)) in smb2_select_sectype()
997 else if (global_secflags & CIFSSEC_MAY_SIGN) /* one flag unlike MUST_ */ in SMB2_sess_alloc_buffer()
Dcifsencrypt.c314 if (!encrypt && global_secflags & CIFSSEC_MAY_PLNTXT) { in calc_lanman_hash()
Dcifsglob.h1725 extern unsigned int global_secflags; /* if on, session setup sent
Dcifsfs.c62 unsigned int global_secflags = CIFSSEC_DEF; variable
Dcifssmb.c435 bool mnt_sign_enabled = global_secflags & CIFSSEC_MAY_SIGN; in cifs_enable_signing()
442 mnt_sign_required = ((global_secflags & CIFSSEC_MUST_SIGN) == in cifs_enable_signing()
450 (global_secflags & CIFSSEC_MAY_SIGN); in cifs_enable_signing()
565 if (global_secflags & in should_set_ext_sec_flag()
Dconnect.c4227 if ((global_secflags & CIFSSEC_MAY_LANMAN) && in CIFSTCon()