Searched refs:cr_principal (Results 1 – 7 of 7) sorted by relevance
329 data->creds.cr_principal = kstrndup(client_name.data, in gssp_accept_sec_context_upcall()331 if (data->creds.cr_principal) { in gssp_accept_sec_context_upcall()333 c = strchr(data->creds.cr_principal, '@'); in gssp_accept_sec_context_upcall()338 c = strchr(data->creds.cr_principal, '/'); in gssp_accept_sec_context_upcall()343 kfree(data->creds.cr_principal); in gssp_accept_sec_context_upcall()344 data->creds.cr_principal = NULL; in gssp_accept_sec_context_upcall()
507 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse()508 if (!rsci.cred.cr_principal) { in rsc_parse()
26 char *cr_principal; /* for gss */ member33 cred->cr_principal = NULL; in init_svc_cred()41 kfree(cred->cr_principal); in free_svc_cred()
420 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
751 if (!clp->cl_cred.cr_principal && in setup_callback_client()754 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client()
1844 if (source->cr_principal) { in copy_cred()1845 target->cr_principal = in copy_cred()1846 kstrdup(source->cr_principal, GFP_KERNEL); in copy_cred()1847 if (target->cr_principal == NULL) in copy_cred()1850 target->cr_principal = NULL; in copy_cred()1925 if (cr1->cr_principal == cr2->cr_principal) in same_creds()1927 if (!cr1->cr_principal || !cr2->cr_principal) in same_creds()1929 return 0 == strcmp(cr1->cr_principal, cr2->cr_principal); in same_creds()1954 if (!cr->cr_principal) in mach_creds_match()1956 return 0 == strcmp(cl->cl_cred.cr_principal, cr->cr_principal); in mach_creds_match()
732 cred->cr_principal = NULL; in svcauth_null_accept()798 cred->cr_principal = NULL; in svcauth_unix_accept()