Home
last modified time | relevance | path

Searched refs:cr_principal (Results 1 – 7 of 7) sorted by relevance

/linux-4.1.27/net/sunrpc/auth_gss/
Dgss_rpc_upcall.c329 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()
Dsvcauth_gss.c507 rsci.cred.cr_principal = kstrdup(buf, GFP_KERNEL); in rsc_parse()
508 if (!rsci.cred.cr_principal) { in rsc_parse()
/linux-4.1.27/include/linux/sunrpc/
Dsvcauth.h26 char *cr_principal; /* for gss */ member
33 cred->cr_principal = NULL; in init_svc_cred()
41 kfree(cred->cr_principal); in free_svc_cred()
/linux-4.1.27/fs/nfs/
Dcallback.c420 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
/linux-4.1.27/fs/nfsd/
Dnfs4callback.c751 if (!clp->cl_cred.cr_principal && in setup_callback_client()
754 args.client_name = clp->cl_cred.cr_principal; in setup_callback_client()
Dnfs4state.c1844 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()
/linux-4.1.27/net/sunrpc/
Dsvcauth_unix.c732 cred->cr_principal = NULL; in svcauth_null_accept()
798 cred->cr_principal = NULL; in svcauth_unix_accept()