/illumos-gate/usr/src/uts/common/rpc/sec/ |
H A D | auth_loopb.c | 156 MAX_AUTH_BYTES); in authloopback_marshal() 157 maxgidlen = (MAX_AUTH_BYTES - NFIELDS * BYTES_PER_XDR_UNIT - in authloopback_marshal() 166 ASSERT(credsize <= MAX_AUTH_BYTES); in authloopback_marshal() 205 sercred = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in authloopback_marshal() 210 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authloopback_marshal() 224 ASSERT(auth->ah_cred.oa_length <= MAX_AUTH_BYTES); in authloopback_marshal() 237 kmem_free(sercred, MAX_AUTH_BYTES); in authloopback_marshal()
|
H A D | auth_kern.c | 153 RNDUP(MAX_MACHINE_NAME) <= MAX_AUTH_BYTES); in authkern_marshal() 161 ASSERT(credsize <= MAX_AUTH_BYTES); in authkern_marshal() 200 sercred = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in authkern_marshal() 205 xdrmem_create(&xdrm, sercred, MAX_AUTH_BYTES, XDR_ENCODE); in authkern_marshal() 219 ASSERT(auth->ah_cred.oa_length <= MAX_AUTH_BYTES); in authkern_marshal() 232 kmem_free(sercred, MAX_AUTH_BYTES); in authkern_marshal()
|
H A D | svcauthdes.c | 350 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in _svcauth_des()
|
/illumos-gate/usr/src/uts/common/rpc/ |
H A D | rpc_calmsg.c | 63 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 65 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 122 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 147 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
|
H A D | rpc_prot.c | 69 &ap->oa_length, MAX_AUTH_BYTES)); in xdr_opaque_auth() 209 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_replymsg()
|
H A D | auth.h | 57 #define MAX_AUTH_BYTES 400 /* maximum length of an auth type, from RFC */ macro
|
H A D | svc.c | 1294 cred_area = kmem_alloc(2 * MAX_AUTH_BYTES + RQCRED_SIZE, in svc_getreq() 1298 msg.rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq() 1299 r.rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq() 2842 oa_dst.oa_base = kmem_alloc(MAX_AUTH_BYTES, KM_SLEEP); in rpc_msg_dup()
|
H A D | clnt_rdma.c | 781 msglen = CKU_HDRSIZE + BYTES_PER_XDR_UNIT + MAX_AUTH_BYTES + in clnt_rdma_kcallit() 835 long_reply_len += MAX_AUTH_BYTES; in clnt_rdma_kcallit()
|
H A D | svc_rdma.c | 663 alloc_len = RNDUP(MAX_AUTH_BYTES + *msglen); in svc_process_long_reply()
|
/illumos-gate/usr/src/stand/lib/fs/nfs/ |
H A D | auth_unix.c | 66 char au_marshed[MAX_AUTH_BYTES]; 83 char mymem[MAX_AUTH_BYTES]; in authunix_create() 123 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE); in authunix_create() 253 xdrmem_create(xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); in marshal_new_auth()
|
/illumos-gate/usr/src/lib/libnsl/rpc/ |
H A D | rpc_callmsg.c | 58 if (cmsg->rm_call.cb_cred.oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 60 if (cmsg->rm_call.cb_verf.oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 117 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg() 153 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_callmsg()
|
H A D | auth_sys.c | 69 char au_marshed[MAX_AUTH_BYTES]; 89 char mymem[MAX_AUTH_BYTES]; in authsys_create() 130 xdrmem_create(&xdrs, mymem, MAX_AUTH_BYTES, XDR_ENCODE); in authsys_create() 353 xdrmem_create(xdrs, au->au_marshed, MAX_AUTH_BYTES, XDR_ENCODE); in marshal_new_auth()
|
H A D | rpc_prot.c | 62 &ap->oa_length, MAX_AUTH_BYTES)); in xdr_opaque_auth() 194 if (oa->oa_length > MAX_AUTH_BYTES) in xdr_replymsg()
|
H A D | svc_door.c | 79 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */ 266 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in door_server() 267 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in door_server()
|
H A D | svc_raw.c | 60 char verf_body[MAX_AUTH_BYTES];
|
H A D | svc_run.c | 682 &(cred_area[MAX_AUTH_BYTES]); in _svc_run_mt() 683 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in _svc_run_mt()
|
H A D | svc.c | 1372 msg->rm_call.cb_verf.oa_base = &(cred_area[MAX_AUTH_BYTES]); in svc_getreq_common() 1373 r->rq_clntcred = &(cred_area[2 * MAX_AUTH_BYTES]); in svc_getreq_common() 1519 if ((cred_area = malloc(2*MAX_AUTH_BYTES + RQCRED_SIZE)) == NULL) in svc_xprt_alloc()
|
H A D | svcauth_des.c | 434 if (rqst->rq_xprt->xp_verf.oa_length > MAX_AUTH_BYTES) { in __svcauth_des()
|
/illumos-gate/usr/src/head/rpcsvc/ |
H A D | svc_dg_priv.h | 56 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
|
/illumos-gate/usr/src/cmd/ypcmd/ |
H A D | ypserv_resolv_common.h | 50 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
|
/illumos-gate/usr/src/lib/rpcsec_gss/ |
H A D | rpcsec_gss.c | 470 char cred_buf[MAX_AUTH_BYTES]; 489 xdrmem_create(&cred_xdrs, (caddr_t)cred_buf, MAX_AUTH_BYTES,
|
H A D | svc_rpcsec_gss.c | 1079 if (oa->oa_length > MAX_AUTH_BYTES) in check_verf()
|
/illumos-gate/usr/src/ucblib/librpcsoc/ |
H A D | svc_tcp.c | 82 char verf_body[MAX_AUTH_BYTES];
|
H A D | svc_udp.c | 84 char su_verfbody[MAX_AUTH_BYTES]; /* verifier body */
|
/illumos-gate/usr/src/uts/common/rpc/sec_gss/ |
H A D | svc_rpcsec_gss.c | 1010 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in svcrpcsec_gss_taskq_func() 1113 rpc_msg_free(&arg->msg, MAX_AUTH_BYTES); in rpcsec_gss_init() 1541 if (oa->oa_length > MAX_AUTH_BYTES) in check_verf()
|