/titanic_41/usr/src/cmd/krb5/kadmin/server/ |
H A D | server_stubs.c | 56 #define CHANGEPW_SERVICE(rqstp) \ argument 57 (cmp_gss_names_rel_1(acceptor_name(rqstp), gss_changepw_name) |\ 59 cmp_gss_names_rel_1(acceptor_name(rqstp), \ 68 static gss_name_t acceptor_name(struct svc_req * rqstp); 75 get_clnt_name(struct svc_req * rqstp) in get_clnt_name() argument 83 rpc_gss_getcred(rqstp, &raw_cred, NULL, &cookie); in get_clnt_name() 187 struct svc_req *rqstp, in new_server_handle() argument 202 if (!(name = get_clnt_name(rqstp))) { in new_server_handle() 250 int setup_gss_names(struct svc_req *rqstp, in setup_gss_names() argument 262 rpc_gss_getcred(rqstp, &raw_cred, NULL, NULL); in setup_gss_names() [all …]
|
H A D | ipropd_svc.c | 113 iprop_get_updates_1(kdb_last_t *arg, struct svc_req *rqstp) in iprop_get_updates_1() argument 136 if (setup_gss_names(rqstp, &client_name, &service_name) < 0) { in iprop_get_updates_1() 146 if (!(name = get_clnt_name(rqstp))) { in iprop_get_updates_1() 159 audit_kadmind_unauth(rqstp->rq_xprt, l_port, in iprop_get_updates_1() 164 client_addr(rqstp, abuf)); in iprop_get_updates_1() 183 audit_kadmind_auth(rqstp->rq_xprt, l_port, in iprop_get_updates_1() 191 client_addr(rqstp, abuf)); in iprop_get_updates_1() 231 struct svc_req *rqstp) in iprop_full_resync_1() argument 256 if (setup_gss_names(rqstp, &client_name, &service_name) < 0) { in iprop_full_resync_1() 266 if (!(name = get_clnt_name(rqstp))) { in iprop_full_resync_1() [all …]
|
H A D | kadm_rpc_svc.c | 70 void kadm_1(rqstp, transp) in kadm_1() argument 71 struct svc_req *rqstp; in kadm_1() 97 if (rqstp->rq_cred.oa_flavor != RPCSEC_GSS) { 101 rqstp->rq_cred.oa_flavor); 106 switch (rqstp->rq_proc) { 242 rqstp->rq_proc); 251 result = (*local)(&argument, rqstp);
|
/titanic_41/usr/src/cmd/idmap/idmapd/ |
H A D | rpc_svc.c | 94 struct svc_req *rqstp) in _idmap_null_1() argument 96 return (idmap_null_1_svc(result, rqstp)); in _idmap_null_1() 103 struct svc_req *rqstp) in _idmap_get_mapped_ids_1() argument 105 return (idmap_get_mapped_ids_1_svc(*argp, result, rqstp)); in _idmap_get_mapped_ids_1() 112 struct svc_req *rqstp) in _idmap_list_mappings_1() argument 118 result, rqstp)); in _idmap_list_mappings_1() 125 struct svc_req *rqstp) in _idmap_list_namerules_1() argument 131 result, rqstp)); in _idmap_list_namerules_1() 138 struct svc_req *rqstp) in _idmap_update_1() argument 140 return (idmap_update_1_svc(*argp, result, rqstp)); in _idmap_update_1() [all …]
|
/titanic_41/usr/src/cmd/lvm/rpc.metad/ |
H A D | metad_svc_subr.c | 405 struct svc_req *rqstp) in mdrpc_flush_internal_common() argument 411 if ((err = svc_init(rqstp, op_mode, ep)) < 0) in mdrpc_flush_internal_common() 425 struct svc_req *rqstp) in mdrpc_flush_internal_1_svc() argument 427 return (mdrpc_flush_internal_common(args, res, rqstp)); in mdrpc_flush_internal_1_svc() 432 struct svc_req *rqstp) in mdrpc_flush_internal_2_svc() argument 434 return (mdrpc_flush_internal_common(args, res, rqstp)); in mdrpc_flush_internal_2_svc() 445 struct svc_req *rqstp /* RPC stuff */ in mdrpc_add_drv_sidenms_common() argument 453 if ((err = svc_init(rqstp, op_mode, ep)) < 0) in mdrpc_add_drv_sidenms_common() 479 struct svc_req *rqstp /* RPC stuff */ in mdrpc_add_drv_sidenms_1_svc() argument 513 retval = mdrpc_add_drv_sidenms_common(&v2_args, res, rqstp); in mdrpc_add_drv_sidenms_1_svc() [all …]
|
H A D | metad_init.c | 51 struct svc_req *rqstp /* RPC stuff */ in check_host() argument 55 SVCXPRT *transp = rqstp->rq_xprt; in check_host() 64 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_host() 169 struct svc_req *rqstp, /* RPC stuff */ in check_sys() argument 186 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_sys() 188 (check_host(rqstp) == 0)) { in check_sys() 206 struct svc_req *rqstp, /* RPC stuff */ in svc_init() argument 222 if (rqstp == NULL) { in svc_init() 230 transp = rqstp->rq_xprt; in svc_init() 237 switch (rqstp->rq_cred.oa_flavor) { in svc_init() [all …]
|
/titanic_41/usr/src/cmd/lvm/rpc.metamedd/ |
H A D | med_svc_subr.c | 39 struct svc_req *rqstp /* RPC stuff */ in med_null_1_svc() argument 57 struct svc_req *rqstp /* RPC stuff */ in med_upd_data_1_svc() argument 66 if ((err = med_init(rqstp, W_OK, res)) < 0) in med_upd_data_1_svc() 89 struct svc_req *rqstp /* RPC stuff */ in med_get_data_1_svc() argument 101 if ((err = med_init(rqstp, R_OK, medep)) < 0) in med_get_data_1_svc() 127 struct svc_req *rqstp /* RPC stuff */ in med_upd_rec_1_svc() argument 136 if ((err = med_init(rqstp, W_OK, res)) < 0) in med_upd_rec_1_svc() 159 struct svc_req *rqstp /* RPC stuff */ in med_get_rec_1_svc() argument 171 if ((err = med_init(rqstp, R_OK, medep)) < 0) in med_get_rec_1_svc() 197 struct svc_req *rqstp /* RPC stuff */ in med_hostname_1_svc() argument [all …]
|
H A D | med_init.c | 168 struct svc_req *rqstp /* RPC stuff */ in check_host() argument 172 SVCXPRT *transp = rqstp->rq_xprt; in check_host() 181 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_host() 290 struct svc_req *rqstp, /* RPC stuff */ in check_sys() argument 311 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_sys() 313 (check_host(rqstp) == 0)) { in check_sys() 335 struct svc_req *rqstp, /* RPC stuff */ in med_init() argument 340 SVCXPRT *transp = rqstp->rq_xprt; in med_init() 356 switch (rqstp->rq_cred.oa_flavor) { in med_init() 361 if (check_sys(rqstp, amode, medep) != 0) in med_init()
|
/titanic_41/usr/src/cmd/rpcbind/ |
H A D | pmap_svc.c | 68 pmap_service(struct svc_req *rqstp, SVCXPRT *xprt) in pmap_service() argument 70 rpcbs_procinfo(RPCBVERS_2_STAT, rqstp->rq_proc); in pmap_service() 72 switch (rqstp->rq_proc) { in pmap_service() 77 PMAP_CHECK(xprt, rqstp->rq_proc); in pmap_service() 91 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service() 98 pmapproc_change(rqstp, xprt, rqstp->rq_proc); in pmap_service() 106 pmapproc_getport(rqstp, xprt); in pmap_service() 113 PMAP_CHECK(xprt, rqstp->rq_proc); in pmap_service() 114 pmapproc_dump(rqstp, xprt); in pmap_service() 125 rpcbproc_callit_com(rqstp, xprt, PMAPPROC_CALLIT, PMAPVERS); in pmap_service() [all …]
|
H A D | rpcb_svc.c | 64 rpcb_service_3(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_3() argument 87 rpcbs_procinfo(RPCBVERS_3_STAT, rqstp->rq_proc); in rpcb_service_3() 89 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_3() 91 switch (rqstp->rq_proc) { in rpcb_service_3() 158 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS); in rpcb_service_3() 190 retval = (*local)(&argument, &result, rqstp, RPCBVERS); in rpcb_service_3()
|
H A D | rpcb_svc_4.c | 57 rpcb_service_4(struct svc_req *rqstp, SVCXPRT *transp) in rpcb_service_4() argument 84 rpcbs_procinfo(RPCBVERS_4_STAT, rqstp->rq_proc); in rpcb_service_4() 86 RPCB_CHECK(transp, rqstp->rq_proc); in rpcb_service_4() 88 switch (rqstp->rq_proc) { in rpcb_service_4() 143 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4() 171 rpcbproc_callit_com(rqstp, transp, rqstp->rq_proc, RPCBVERS4); in rpcb_service_4() 197 retval = (*local)(&argument, &result, rqstp, RPCBVERS4); in rpcb_service_4() 226 struct svc_req *rqstp) in rpcbproc_getaddrlist() argument 237 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddrlist()
|
/titanic_41/usr/src/cmd/lvm/rpc.metamhd/ |
H A D | mhd_metamhd.c | 39 struct svc_req *rqstp /* RPC stuff */ in mhd_list_1_svc() argument 47 if ((err = mhd_init(rqstp, R_OK, mhep)) < 0) in mhd_list_1_svc() 65 struct svc_req *rqstp /* RPC stuff */ in mhd_tkown_1_svc() argument 71 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0) in mhd_tkown_1_svc() 90 struct svc_req *rqstp /* RPC stuff */ in mhd_relown_1_svc() argument 96 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0) in mhd_relown_1_svc() 114 struct svc_req *rqstp /* RPC stuff */ in mhd_status_1_svc() argument 124 if ((err = mhd_init(rqstp, W_OK, mhep)) < 0) in mhd_status_1_svc()
|
H A D | mhd_init.c | 187 struct svc_req *rqstp /* RPC stuff */ in check_host() argument 191 SVCXPRT *transp = rqstp->rq_xprt; in check_host() 199 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_host() 284 struct svc_req *rqstp, /* RPC stuff */ in check_sys() argument 301 sys_credp = (struct authsys_parms *)rqstp->rq_clntcred; in check_sys() 303 (check_host(rqstp) == 0)) { in check_sys() 321 struct svc_req *rqstp, /* RPC stuff */ in mhd_init() argument 326 SVCXPRT *transp = rqstp->rq_xprt; in mhd_init() 336 switch (rqstp->rq_cred.oa_flavor) { in mhd_init() 341 if (check_sys(rqstp, amode, mhep) != 0) in mhd_init()
|
/titanic_41/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 338 gss_acquire_cred_1_svc(argp, res, rqstp) in gss_acquire_cred_1_svc() argument 341 struct svc_req *rqstp; 368 if (checkfrom(rqstp, &uid) == 0) { 582 gss_add_cred_1_svc(argp, res, rqstp) in gss_add_cred_1_svc() argument 585 struct svc_req *rqstp; 622 if (checkfrom(rqstp, &uid) == 0) { 766 gss_release_cred_1_svc(argp, res, rqstp) in gss_release_cred_1_svc() argument 769 struct svc_req *rqstp; 780 if (checkfrom(rqstp, &uid) == 0) 820 gss_init_sec_context_1_svc(argp, res, rqstp) in gss_init_sec_context_1_svc() argument [all …]
|
/titanic_41/usr/src/uts/common/klm/ |
H A D | nlm_dispatch.c | 72 struct svc_req *rqstp, in nlm_dispatch() argument 154 dupstat = SVC_DUP_EXT(transp, rqstp, res, de->de_ressz, &dr, in nlm_dispatch() 174 do_reply = (*func)(args, res, rqstp); in nlm_dispatch() 206 DTRACE_PROBE3(sendreply, struct svc_req *, rqstp, in nlm_dispatch() 491 nlm_prog_3(struct svc_req *rqstp, register SVCXPRT *transp) in nlm_prog_3() argument 496 switch (rqstp->rq_vers) { in nlm_prog_3() 514 if (rqstp->rq_proc > max_proc) { in nlm_prog_3() 519 de = &nlm_prog_3_dtable[rqstp->rq_proc]; in nlm_prog_3() 521 nlm_dispatch(rqstp, transp, de); in nlm_prog_3() 736 nlm_prog_4(struct svc_req *rqstp, register SVCXPRT *transp) in nlm_prog_4() argument [all …]
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypxfrd_server.c | 123 getdbm_1_svc(hosereq *argp, struct svc_req *rqstp) in getdbm_1_svc() argument 136 xprt = rqstp->rq_xprt; in getdbm_1_svc() 151 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc() 153 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc() 163 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc() 165 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc() 176 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc() 178 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc() 233 if (!svc_sendreply(rqstp->rq_xprt, xdr_myfyl, (caddr_t)&m)) { in getdbm_1_svc() 234 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
|
H A D | yp_b_svc.c | 471 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument 472 struct svc_req *rqstp; in ypbindprog_3() 487 switch (rqstp->rq_proc) { 517 if (rqstp->rq_proc == YPBINDPROC_SETDOM) 518 result = (*local)(&argument, rqstp, transp); 520 result = (*local)(&argument, rqstp); 532 ypbindprog_2(rqstp, transp) in ypbindprog_2() argument 533 struct svc_req *rqstp; in ypbindprog_2() 548 switch (rqstp->rq_proc) { 574 result = (*local)(&argument, rqstp);
|
H A D | ypserv.c | 95 static void ypdispatch(struct svc_req *rqstp, SVCXPRT *transp); 96 static void ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp); 470 ypdispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypdispatch() argument 484 switch (rqstp->rq_proc) { in ypdispatch() 501 ypmatch(transp, rqstp); in ypdispatch() 554 ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypolddispatch() argument 562 switch (rqstp->rq_proc) { in ypolddispatch() 578 ypoldmatch(transp, rqstp); in ypolddispatch()
|
H A D | ypupdated.c | 202 ypupdate_prog(rqstp, transp) in ypupdate_prog() argument 203 struct svc_req *rqstp; in ypupdate_prog() 213 switch (rqstp->rq_proc) { 236 switch (rqstp->rq_cred.oa_flavor) { 240 rqstp->rq_clntcred)->adc_fullname.name; 245 aup = (struct authunix_parms *)rqstp->rq_clntcred;
|
/titanic_41/usr/src/cmd/lvm/rpc.mdcommd/ |
H A D | mdmn_commd_service.c | 108 mdmn_commd_2(rqstp, transp) in mdmn_commd_2() argument 109 struct svc_req *rqstp; in mdmn_commd_2() 126 switch (rqstp->rq_proc) { 154 if (mdmn_send_svc_2((md_mn_msg_t *)&argument, rqstp) == 0) { 157 svc_done(rqstp->rq_xprt); 239 result = (*local)(&argument, rqstp);
|
/titanic_41/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 200 ypupdate_prog(rqstp, transp) in ypupdate_prog() argument 201 struct svc_req *rqstp; in ypupdate_prog() 211 switch (rqstp->rq_proc) { 235 switch (rqstp->rq_cred.oa_flavor) { 238 rqstp->rq_clntcred)->adc_fullname.name; 242 aup = (struct authunix_parms *)rqstp->rq_clntcred;
|
/titanic_41/usr/src/cmd/fs.d/nfs/rquotad/ |
H A D | rpc.rquotad.c | 229 dispatch(rqstp, transp) in dispatch() argument 230 register struct svc_req *rqstp; in dispatch() 236 switch (rqstp->rq_proc) { 245 getquota(rqstp, transp); 312 getquota(rqstp, transp) in getquota() argument 313 register struct svc_req *rqstp; in getquota() 333 if (rqstp->rq_cred.oa_flavor != AUTH_UNIX || 334 (((authp) rqstp->rq_clntcred)->aup_uid != 0 && 335 ((authp) rqstp->rq_clntcred)->aup_uid != (uid_t)gqa.gqa_uid)) { 357 (rqstp->rq_proc != RQUOTAPROC_GETQUOTA)) {
|
/titanic_41/usr/src/cmd/rpcsvc/ |
H A D | rpc.rusersd.c | 309 rusers_service(rqstp, transp) in rusers_service() argument 310 register struct svc_req *rqstp; in rusers_service() 318 switch (rqstp->rq_proc) { 331 if (rqstp->rq_vers == RUSERSVERS_IDLE) { 334 utmpidlearr.uia_cnt = getutmpx_3(rqstp->rq_proc == 344 } else if (rqstp->rq_vers == RUSERSVERS_3) { 353 entries = (rqstp->rq_proc == RUSERSPROC_ALLNAMES);
|
/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | svc_simple.c | 235 universal(struct svc_req *rqstp, SVCXPRT *transp) in universal() argument 248 if (rqstp->rq_proc == NULLPROC) { in universal() 255 prog = rqstp->rq_prog; in universal() 256 vers = rqstp->rq_vers; in universal() 257 proc = rqstp->rq_proc; in universal()
|
/titanic_41/usr/src/cmd/fs.d/cachefs/cfsd/ |
H A D | cfsd_main.c | 79 void cachefsdprog_1(struct svc_req *rqstp, register SVCXPRT *transp); 417 cachefsdprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in cachefsdprog_1() argument 428 dbug_precond(rqstp); in cachefsdprog_1() 432 index = rqstp->rq_proc; in cachefsdprog_1() 464 xx = (*local)(argumentp, resultp, rqstp); in cachefsdprog_1()
|