| /linux-6.15/fs/nfsd/ |
| H A D | localio.c | 66 struct svc_cred rq_cred; in nfsd_open_local_fh() local 84 svcauth_map_clnt_to_svc_cred_local(rpc_clnt, cred, &rq_cred); in nfsd_open_local_fh() 86 beres = nfsd_file_acquire_local(net, &rq_cred, dom, in nfsd_open_local_fh() 92 if (rq_cred.cr_group_info) in nfsd_open_local_fh() 93 put_group_info(rq_cred.cr_group_info); in nfsd_open_local_fh()
|
| H A D | export.c | 1135 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access() 1140 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access() 1141 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access() 1163 rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access() 1164 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX)) { in check_nfsd_access()
|
| H A D | nfs4idmap.c | 628 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id() 641 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
|
| H A D | nfsfh.c | 449 return __fh_verify(rqstp, SVC_NET(rqstp), &rqstp->rq_cred, in fh_verify()
|
| H A D | vfs.c | 423 err = nfsd_permission(&rqstp->rq_cred, in nfsd_get_write_access() 817 err2 = nfsd_permission(&rqstp->rq_cred, export, in nfsd_access() 1469 err = nfsd_permission(&rqstp->rq_cred, fhp->fh_export, dentry, in nfsd_create_locked()
|
| H A D | nfs4state.c | 2641 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected() 2653 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match() 3246 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client() 3461 copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred); in nfsd4_store_cache_entry() 3683 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id() 4002 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session() 4307 if (!same_creds(&rqstp->rq_cred, &slot->sl_cred)) in replay_matches_cache() 4615 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid() 4679 if (unconf && !same_creds(&unconf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid_confirm() 4683 if (conf && !same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid_confirm() [all …]
|
| H A D | nfsproc.c | 366 &rqstp->rq_cred, in nfsd_proc_create()
|
| H A D | trace.h | 965 __entry->new_flavor = rqstp->rq_cred.cr_flavor;
|
| /linux-6.15/net/sunrpc/ |
| H A D | auth.c | 678 put_rpccred(req->rq_cred); in rpcauth_bindcred() 679 req->rq_cred = new; in rpcauth_bindcred() 726 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred() 759 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req() 781 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf() 812 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp() 820 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode() 833 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred() 838 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred() 851 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred() [all …]
|
| H A D | svcauth_unix.c | 675 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client() 758 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept() 791 rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; in svcauth_null_accept() 801 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release() 803 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release() 835 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_tls_accept() 890 rqstp->rq_cred.cr_flavor = RPC_AUTH_TLS; in svcauth_tls_accept() 920 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept() 986 rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; in svcauth_unix_accept() 1002 if (rqstp->rq_cred.cr_group_info) in svcauth_unix_release() [all …]
|
| H A D | auth_unix.c | 114 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal() 168 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in unx_refresh() 175 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
|
| H A D | auth_null.c | 85 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in nul_refresh()
|
| H A D | auth_tls.c | 117 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in tls_refresh()
|
| H A D | svcauth.c | 97 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
|
| H A D | clnt.c | 1371 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign; in rpc_prepare_reply_pages() 1889 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate() 2712 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpc_decode_header()
|
| H A D | xprt.c | 1984 if (req->rq_cred != NULL) in xprt_release() 1985 put_rpccred(req->rq_cred); in xprt_release()
|
| /linux-6.15/net/sunrpc/auth_gss/ |
| H A D | auth_gss.c | 393 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback() 596 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall() 1538 struct rpc_cred *cred = req->rq_cred; in gss_marshal() 1611 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred() 1626 task->tk_rqstp->rq_cred = new; in gss_renew_cred() 1654 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh() 1665 cred = task->tk_rqstp->rq_cred; in gss_refresh() 1684 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate() 1911 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req() 2113 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode() [all …]
|
| H A D | svcauth_gss.c | 1694 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept() 1721 rqstp->rq_cred.cr_flavor = gss_svc_to_pseudoflavor( in svcauth_gss_accept() 1975 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release() 1976 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release() 1977 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
|
| /linux-6.15/fs/nfs/ |
| H A D | callback.c | 284 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
|
| H A D | nfs4proc.c | 6592 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()
|
| /linux-6.15/include/linux/sunrpc/ |
| H A D | svc.h | 182 struct svc_cred rq_cred; /* auth info */ member
|
| H A D | xprt.h | 66 struct rpc_cred * rq_cred; /* Bound cred */ member
|
| /linux-6.15/net/sunrpc/xprtrdma/ |
| H A D | rpc_rdma.c | 894 &rqst->rq_cred->cr_auth->au_flags); in rpcrdma_marshal_req()
|