Home
last modified time | relevance | path

Searched refs:rq_cred (Results 1 – 19 of 19) sorted by relevance

/kernel/linux/linux-5.10/fs/nfsd/
Dauth.c14 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in nfsexp_flags()
37 new->fsuid = rqstp->rq_cred.cr_uid; in nfsd_setuser()
38 new->fsgid = rqstp->rq_cred.cr_gid; in nfsd_setuser()
40 rqgi = rqstp->rq_cred.cr_group_info; in nfsd_setuser()
Dnfs4idmap.c622 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in do_name_to_id()
635 if (nfs4_disable_idmapping && rqstp->rq_cred.cr_flavor < RPC_AUTH_GSS) in encode_name_from_id()
Dexport.c986 if (f->pseudoflavor == rqstp->rq_cred.cr_flavor) in check_nfsd_access()
991 if (rqstp->rq_cred.cr_flavor == RPC_AUTH_NULL || in check_nfsd_access()
992 rqstp->rq_cred.cr_flavor == RPC_AUTH_UNIX) in check_nfsd_access()
Dnfsfh.c96 if (rqstp->rq_cred.cr_flavor >= RPC_AUTH_GSS) in nfsd_originating_port_ok()
Dnfs4state.c2256 struct svc_cred *cr = &rqstp->rq_cred; in svc_rqst_integrity_protected()
2268 struct svc_cred *cr = &rqstp->rq_cred; in nfsd4_mach_creds_match()
2715 ret = copy_cred(&clp->cl_cred, &rqstp->rq_cred); in create_client()
2921 copy_cred(&slot->sl_cred, &resp->rqstp->rq_cred); in nfsd4_store_cache_entry()
3136 bool creds_match = same_creds(&conf->cl_cred, &rqstp->rq_cred); in nfsd4_exchange_id()
3407 if (!same_creds(&unconf->cl_cred, &rqstp->rq_cred) || in nfsd4_create_session()
3709 if (!same_creds(&rqstp->rq_cred, &slot->sl_cred)) in replay_matches_cache()
3967 if (!same_creds(&conf->cl_cred, &rqstp->rq_cred)) { in nfsd4_setclientid()
4026 if (unconf && !same_creds(&unconf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm()
4028 if (conf && !same_creds(&conf->cl_cred, &rqstp->rq_cred)) in nfsd4_setclientid_confirm()
/kernel/linux/linux-5.10/net/sunrpc/
Dauth.c677 put_rpccred(req->rq_cred); in rpcauth_bindcred()
678 req->rq_cred = new; in rpcauth_bindcred()
725 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_marshcred()
758 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_wrap_req()
775 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_checkverf()
806 const struct rpc_credops *ops = task->tk_rqstp->rq_cred->cr_ops; in rpcauth_unwrap_resp()
814 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_xmit_need_reencode()
827 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
832 cred = task->tk_rqstp->rq_cred; in rpcauth_refreshcred()
845 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in rpcauth_invalcred()
[all …]
Dsvcauth_unix.c673 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_set_client()
741 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_null_accept()
768 rqstp->rq_cred.cr_flavor = RPC_AUTH_NULL; in svcauth_null_accept()
778 if (rqstp->rq_cred.cr_group_info) in svcauth_null_release()
779 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_null_release()
780 rqstp->rq_cred.cr_group_info = NULL; in svcauth_null_release()
801 struct svc_cred *cred = &rqstp->rq_cred; in svcauth_unix_accept()
847 rqstp->rq_cred.cr_flavor = RPC_AUTH_UNIX; in svcauth_unix_accept()
863 if (rqstp->rq_cred.cr_group_info) in svcauth_unix_release()
864 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_unix_release()
[all …]
Dauth_unix.c106 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in unx_marshal()
160 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in unx_refresh()
167 struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in unx_validate()
Dauth_null.c85 set_bit(RPCAUTH_CRED_UPTODATE, &task->tk_rqstp->rq_cred->cr_flags); in nul_refresh()
Dsvcauth.c80 init_svc_cred(&rqstp->rq_cred); in svc_authenticate()
Dxprt.c1888 if (req->rq_cred != NULL) in xprt_release()
1889 put_rpccred(req->rq_cred); in xprt_release()
Dclnt.c1257 hdrsize += RPC_REPHDRSIZE + req->rq_cred->cr_auth->au_ralign - 1; in rpc_prepare_reply_pages()
1762 const struct rpc_auth *auth = task->tk_rqstp->rq_cred->cr_auth; in call_allocate()
/kernel/linux/linux-5.10/net/sunrpc/auth_gss/
Dauth_gss.c376 struct gss_cred *gss_cred = container_of(task->tk_rqstp->rq_cred, in gss_upcall_callback()
579 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh_upcall()
1503 struct rpc_cred *cred = req->rq_cred; in gss_marshal()
1576 struct rpc_cred *oldcred = task->tk_rqstp->rq_cred; in gss_renew_cred()
1591 task->tk_rqstp->rq_cred = new; in gss_renew_cred()
1619 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_refresh()
1630 cred = task->tk_rqstp->rq_cred; in gss_refresh()
1649 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_validate()
1874 struct rpc_cred *cred = task->tk_rqstp->rq_cred; in gss_wrap_req()
2076 struct rpc_cred *cred = req->rq_cred; in gss_xmit_need_reencode()
[all …]
Dsvcauth_gss.c1623 rqstp->rq_cred = rsci->cred; in svcauth_gss_accept()
1652 rqstp->rq_cred.cr_flavor = gss_svc_to_pseudoflavor( in svcauth_gss_accept()
1873 if (rqstp->rq_cred.cr_group_info) in svcauth_gss_release()
1874 put_group_info(rqstp->rq_cred.cr_group_info); in svcauth_gss_release()
1875 rqstp->rq_cred.cr_group_info = NULL; in svcauth_gss_release()
/kernel/linux/linux-5.10/fs/nfs/
Dcallback.c384 char *p = rqstp->rq_cred.cr_principal; in check_gss_callback_principal()
Dnfs4proc.c6264 sc->sc_cred = get_rpccred(task->tk_rqstp->rq_cred); in nfs4_setclientid_done()
/kernel/linux/linux-5.10/include/linux/sunrpc/
Dsvc.h244 struct svc_cred rq_cred; /* auth info */ member
Dxprt.h75 struct rpc_cred * rq_cred; /* Bound cred */ member
/kernel/linux/linux-5.10/net/sunrpc/xprtrdma/
Drpc_rdma.c910 &rqst->rq_cred->cr_auth->au_flags); in rpcrdma_marshal_req()