Home
last modified time | relevance | path

Searched refs:oa_base (Results 1 – 25 of 39) sorted by relevance

12

/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dauth_sys.c138 if ((au->au_origcred.oa_base = malloc(au->au_origcred.oa_length)) == in authsys_create()
146 (void) memcpy(au->au_origcred.oa_base, mymem, in authsys_create()
261 xdrmem_create(&xdrs, verf->oa_base, in authsys_validate()
264 if (au->au_shcred.oa_base != NULL) { in authsys_validate()
265 free(au->au_shcred.oa_base); in authsys_validate()
266 au->au_shcred.oa_base = NULL; in authsys_validate()
273 au->au_shcred.oa_base = NULL; in authsys_validate()
292 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) in authsys_refresh()
299 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authsys_refresh()
329 free(au->au_origcred.oa_base); in authsys_destroy()
[all …]
H A Drpc_callmsg.c81 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
91 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
119 if (oa->oa_base == NULL) { in xdr_callmsg()
120 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
121 if (oa->oa_base == NULL) { in xdr_callmsg()
129 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
133 (void) memcpy(oa->oa_base, in xdr_callmsg()
155 if (oa->oa_base == NULL) { in xdr_callmsg()
156 oa->oa_base = malloc(oa->oa_length); in xdr_callmsg()
157 if (oa->oa_base == NULL) { in xdr_callmsg()
[all …]
H A Drpc_prot.c61 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
145 (void) memcpy(buf, oa->oa_base, oa->oa_length); in xdr_replymsg()
196 if (oa->oa_base == NULL) { in xdr_replymsg()
197 oa->oa_base = malloc(oa->oa_length); in xdr_replymsg()
198 if (oa->oa_base == NULL) { in xdr_replymsg()
207 if (xdr_opaque(xdrs, oa->oa_base, in xdr_replymsg()
211 (void) memcpy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg()
H A Dsvcauth_des.c171 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_des()
200 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
425 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in __svcauth_des()
431 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in __svcauth_des()
433 (char *)ixdr - msg->rm_call.cb_verf.oa_base; in __svcauth_des()
H A Dsvc_door.c265 msg->rm_call.cb_cred.oa_base = cred_area; in door_server()
266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server()
406 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_create()
487 xprt->xp_verf.oa_base = su->su_verfbody; in svc_door_xprtcopy()
H A Dsvc_auth_loopb.c75 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_loopback()
H A Dsvc_auth_sys.c89 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in __svcauth_sys()
H A Dsvc_raw.c121 srp->server->xp_verf.oa_base = srp->verf_body; in svc_raw_create()
H A Dsvc_run.c680 msg->rm_call.cb_cred.oa_base = cred_area; in _svc_run_mt()
681 msg->rm_call.cb_verf.oa_base = in _svc_run_mt()
H A Dclnt_raw.c206 if (msg.acpted_rply.ar_verf.oa_base != NULL) { in clnt_raw_call()
/illumos-gate/usr/src/stand/lib/fs/nfs/
H A Dauth_unix.c129 if ((au->au_origcred.oa_base = bkmem_alloc((uint_t)len)) == NULL) { in authunix_create()
132 (void) bcopy(mymem, au->au_origcred.oa_base, (uint_t)len); in authunix_create()
171 xdrmem_create(&xdrs, verf->oa_base, verf->oa_length, in authunix_validate()
179 au->au_shcred.oa_base = 0; in authunix_validate()
197 if (auth->ah_cred.oa_base == au->au_origcred.oa_base) { in authunix_refresh()
206 xdrmem_create(&xdrs, au->au_origcred.oa_base, in authunix_refresh()
234 if (au->au_shcred.oa_base != NULL) in authunix_destroy()
235 bkmem_free(au->au_shcred.oa_base, au->au_shcred.oa_length); in authunix_destroy()
237 if (auth->ah_verf.oa_base != NULL) in authunix_destroy()
238 bkmem_free(auth->ah_verf.oa_base, auth->ah_verf.oa_length); in authunix_destroy()
H A Drpc.c401 if (reply.acpted_rply.ar_verf.oa_base != in brpc_call()
/illumos-gate/usr/src/uts/common/rpc/
H A Drpc_calmsg.c86 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_callmsg()
96 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_callmsg()
124 if (oa->oa_base == NULL) in xdr_callmsg()
125 oa->oa_base = (caddr_t) in xdr_callmsg()
129 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
133 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
149 if (oa->oa_base == NULL) in xdr_callmsg()
150 oa->oa_base = (caddr_t) in xdr_callmsg()
154 if (xdr_opaque(xdrs, oa->oa_base, in xdr_callmsg()
158 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_callmsg()
H A Drpc_prot.c68 return (xdr_bytes(xdrs, &ap->oa_base, in xdr_opaque_auth()
161 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg()
211 if (oa->oa_base == NULL) { in xdr_replymsg()
212 oa->oa_base = (caddr_t) in xdr_replymsg()
217 if (xdr_opaque(xdrs, oa->oa_base, in xdr_replymsg()
221 bcopy(buf, oa->oa_base, oa->oa_length); in xdr_replymsg()
278 bcopy(oa->oa_base, buf, oa->oa_length); in xdr_replymsg_hdr()
443 msg->acpted_rply.ar_verf.oa_base != NULL) { in xdr_rpc_free_verifier()
H A Dsvc.c1297 msg.rm_call.cb_cred.oa_base = cred_area; in svc_getreq()
1298 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq()
2822 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2824 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2834 oa_dst.oa_base = kmem_alloc(oa_src.oa_length, KM_SLEEP); in rpc_msg_dup()
2836 bcopy(oa_src.oa_base, oa_dst.oa_base, oa_src.oa_length); in rpc_msg_dup()
2842 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in rpc_msg_dup()
2851 kmem_free(dst->rm_call.cb_cred.oa_base, dst->rm_call.cb_cred.oa_length); in rpc_msg_dup()
2861 kmem_free(m->rm_call.cb_cred.oa_base, m->rm_call.cb_cred.oa_length); in rpc_msg_free()
2862 m->rm_call.cb_cred.oa_base = NULL; in rpc_msg_free()
[all …]
H A Dauth.h188 caddr_t oa_base; /* address of more auth stuff */ member
/illumos-gate/usr/src/lib/rpcsec_gss/
H A Drpcsec_gss.c497 creds.oa_base = cred_buf;
529 verf.oa_base = NULL;
544 verf.oa_base = out_buf.value;
591 tok_buf.value = ap->verifier->oa_base; in validate_seqwin()
624 ap->verifier->oa_base = malloc(verf->oa_length);
627 free(ap->verifier->oa_base);
629 ap->verifier->oa_base = malloc(verf->oa_length);
632 bcopy(verf->oa_base, ap->verifier->oa_base, verf->oa_length);
640 tok_buf.value = verf->oa_base;
786 free(ap->verifier->oa_base);
H A Dsvc_rpcsec_gss.c566 rqst->rq_xprt->xp_verf.oa_base = NULL; in __svcrpcsec_gss()
581 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); in __svcrpcsec_gss()
1100 (void) memcpy((caddr_t)tmp, oa->oa_base, oa->oa_length); in check_verf()
1107 tok_buf.value = oa->oa_base; in check_verf()
1135 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in set_response_verf()
1137 memcpy(rqst->rq_xprt->xp_verf.oa_base, out_buf.value, in set_response_verf()
/illumos-gate/usr/src/uts/common/rpc/sec/
H A Dsvcauthdes.c173 ixdr = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_des()
201 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des()
341 ixdr = (int32_t *)msg->rm_call.cb_verf.oa_base; in _svcauth_des()
347 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in _svcauth_des()
349 (uint_t)((char *)ixdr - msg->rm_call.cb_verf.oa_base); in _svcauth_des()
H A Dsvc_authu.c96 buf = (int32_t *)msg->rm_call.cb_cred.oa_base; in _svcauth_unix()
H A Dauth_kern.c217 auth->ah_cred.oa_base = sercred; in authkern_marshal()
H A Dauth_loopb.c222 auth->ah_cred.oa_base = sercred; in authloopback_marshal()
/illumos-gate/usr/src/uts/common/rpc/sec_gss/
H A Drpcsec_gss.c931 creds.oa_base = cred_buf;
966 verf.oa_base = NULL;
984 verf.oa_base = out_buf.value;
1011 tok_buf.value = ap->verifier->oa_base; in validate_seqwin()
1051 ap->verifier->oa_base = kmem_zalloc(verf->oa_length,
1055 kmem_free(ap->verifier->oa_base, ap->verifier->oa_length);
1057 ap->verifier->oa_base = kmem_zalloc(verf->oa_length,
1061 bcopy(verf->oa_base, ap->verifier->oa_base, verf->oa_length);
1069 tok_buf.value = verf->oa_base;
1279 kmem_free(ap->verifier->oa_base, ap->verifier->oa_length);
H A Dsvc_rpcsec_gss.c1471 rqst->rq_xprt->xp_verf.oa_base = NULL; in __svcrpcsec_gss()
1484 xdrmem_create(&xdrs, cred->oa_base, cred->oa_length, XDR_DECODE); in __svcrpcsec_gss()
1562 (void) bcopy(oa->oa_base, (caddr_t)tmp, oa->oa_length); in check_verf()
1569 tok_buf.value = oa->oa_base; in check_verf()
1581 (void *)oa->oa_base); in check_verf()
1612 rqst->rq_xprt->xp_verf.oa_base = msg->rm_call.cb_verf.oa_base; in set_response_verf()
1614 bcopy(out_buf.value, rqst->rq_xprt->xp_verf.oa_base, out_buf.length); in set_response_verf()
/illumos-gate/usr/src/ucblib/librpcsoc/
H A Dsvc_tcp.c209 xprt->xp_verf.oa_base = cd->verf_body;

12