Home
last modified time | relevance | path

Searched refs:rqstp (Results 1 – 25 of 32) sorted by relevance

12

/illumos-gate/usr/src/cmd/krb5/kadmin/server/
H A Dserver_stubs.c56 #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 Dipropd_svc.c113 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 Dkadm_rpc_svc.c70 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);
/illumos-gate/usr/src/cmd/rpcbind/
H A Dpmap_svc.c68 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 Drpcb_svc_4.c57 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()
H A Drpcb_svc.c64 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 Drpcb_svc_com.c105 rpcbproc_set_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, in rpcbproc_set_com() argument
110 *result = map_set(regp, getowner(rqstp->rq_xprt, owner)); in rpcbproc_set_com()
206 rpcbproc_unset_com(RPCB *regp, bool_t *result, struct svc_req *rqstp, in rpcbproc_unset_com() argument
211 *result = map_unset(regp, getowner(rqstp->rq_xprt, owner)); in rpcbproc_unset_com()
333 rpcbproc_getaddr_com(RPCB *regp, char **result, struct svc_req *rqstp, in rpcbproc_getaddr_com() argument
339 SVCXPRT *transp = rqstp->rq_xprt; in rpcbproc_getaddr_com()
340 int verstype = rqstp->rq_proc == RPCBPROC_GETVERSADDR ? RPCB_ONEVERS : in rpcbproc_getaddr_com()
452 struct svc_req *rqstp) in rpcbproc_uaddr2taddr_com() argument
457 if (((nconf = rpcbind_get_conf(rqstp->rq_xprt->xp_netid)) == NULL) || in rpcbproc_uaddr2taddr_com()
475 struct svc_req *rqstp) in rpcbproc_taddr2uaddr_com() argument
[all …]
/illumos-gate/usr/src/cmd/gss/gssd/
H A Dgssd_proc.c338 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 …]
/illumos-gate/usr/src/uts/common/klm/
H A Dnlm_dispatch.c72 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 …]
/illumos-gate/usr/src/cmd/ypcmd/
H A Dypxfrd_server.c121 getdbm_1_svc(hosereq *argp, struct svc_req *rqstp) in getdbm_1_svc() argument
134 xprt = rqstp->rq_xprt; in getdbm_1_svc()
149 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
151 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
161 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
163 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
174 if (!svc_sendreply(rqstp->rq_xprt, xdr_answer, in getdbm_1_svc()
176 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
231 if (!svc_sendreply(rqstp->rq_xprt, xdr_myfyl, (caddr_t)&m)) { in getdbm_1_svc()
232 svcerr_systemerr(rqstp->rq_xprt); in getdbm_1_svc()
H A Dyp_b_svc.c469 ypbindprog_3(rqstp, transp) in ypbindprog_3() argument
470 struct svc_req *rqstp; in ypbindprog_3()
485 switch (rqstp->rq_proc) {
515 if (rqstp->rq_proc == YPBINDPROC_SETDOM)
516 result = (*local)(&argument, rqstp, transp);
518 result = (*local)(&argument, rqstp);
530 ypbindprog_2(rqstp, transp) in ypbindprog_2() argument
531 struct svc_req *rqstp; in ypbindprog_2()
546 switch (rqstp->rq_proc) {
572 result = (*local)(&argument, rqstp);
H A Dypserv.c94 static void ypdispatch(struct svc_req *rqstp, SVCXPRT *transp);
95 static void ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp);
469 ypdispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypdispatch() argument
483 switch (rqstp->rq_proc) { in ypdispatch()
500 ypmatch(transp, rqstp); in ypdispatch()
553 ypolddispatch(struct svc_req *rqstp, SVCXPRT *transp) in ypolddispatch() argument
561 switch (rqstp->rq_proc) { in ypolddispatch()
577 ypoldmatch(transp, rqstp); in ypolddispatch()
H A Dypxfrd_svc.c110 ypxfrd_1(struct svc_req *rqstp, register SVCXPRT *transp) in ypxfrd_1() argument
120 switch (rqstp->rq_proc) { in ypxfrd_1()
147 result = (*local)((char *)&argument, rqstp); in ypxfrd_1()
H A Dypsym.h128 extern void ypmatch(SVCXPRT *transp, struct svc_req *rqstp);
136 extern void ypoldmatch(SVCXPRT *transp, struct svc_req *rqstp);
/illumos-gate/usr/src/cmd/ypcmd/ypupdated/
H A Drpc.ypupdated.c58 void ypupdate_prog(struct svc_req *rqstp, SVCXPRT *transp);
197 ypupdate_prog(struct svc_req *rqstp, SVCXPRT *transp) in ypupdate_prog() argument
209 switch (rqstp->rq_proc) { in ypupdate_prog()
230 switch (rqstp->rq_cred.oa_flavor) { in ypupdate_prog()
233 rqstp->rq_clntcred)->adc_fullname.name; in ypupdate_prog()
237 aup = (struct authunix_parms *)rqstp->rq_clntcred; in ypupdate_prog()
/illumos-gate/usr/src/cmd/fs.d/nfs/rquotad/
H A Drpc.rquotad.c229 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)) {
/illumos-gate/usr/src/cmd/rpcsvc/
H A Drpc.rusersd.c307 rusers_service(rqstp, transp) in rusers_service() argument
308 register struct svc_req *rqstp; in rusers_service()
316 switch (rqstp->rq_proc) {
329 if (rqstp->rq_vers == RUSERSVERS_IDLE) {
332 utmpidlearr.uia_cnt = getutmpx_3(rqstp->rq_proc ==
342 } else if (rqstp->rq_vers == RUSERSVERS_3) {
351 entries = (rqstp->rq_proc == RUSERSPROC_ALLNAMES);
/illumos-gate/usr/src/lib/libnsl/rpc/
H A Dsvc_simple.c235 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()
/illumos-gate/usr/src/cmd/rpcsvc/rpc.bootparamd/
H A Dbootparam_prot_svc.c167 bootparamprog_1(struct svc_req *rqstp, register SVCXPRT *transp) in bootparamprog_1() argument
178 switch (rqstp->rq_proc) { in bootparamprog_1()
207 result = (*local)(&argument, rqstp); in bootparamprog_1()
/illumos-gate/usr/src/cmd/idmap/idmapd/
H A Dserver.c88 idmap_null_1_svc(void *result, struct svc_req *rqstp) in idmap_null_1_svc() argument
183 idmap_ids_res *result, struct svc_req *rqstp) in idmap_get_mapped_ids_1_svc() argument
660 idmap_mappings_res *result, struct svc_req *rqstp) in idmap_list_mappings_1_svc() argument
813 uint64_t limit, idmap_namerules_res *result, struct svc_req *rqstp) in idmap_list_namerules_1_svc() argument
889 verify_rules_auth(struct svc_req *rqstp) in verify_rules_auth() argument
896 if (svc_getcallerucred(rqstp->rq_xprt, &uc) != 0) { in verify_rules_auth()
939 struct svc_req *rqstp) in idmap_update_1_svc() argument
950 if (verify_rules_auth(rqstp) < 0) { in idmap_update_1_svc()
1133 idmap_mappings_res *result, struct svc_req *rqstp) in idmap_get_mapped_id_by_name_1_svc() argument
1179 &batch_result, rqstp); in idmap_get_mapped_id_by_name_1_svc()
[all …]
/illumos-gate/usr/src/cmd/fs.d/nfs/mountd/
H A Dmountd.c842 mnt(struct svc_req *rqstp, SVCXPRT *transp) in mnt() argument
844 switch (rqstp->rq_proc) { in mnt()
852 (void) mount(rqstp); in mnt()
863 umount(rqstp); in mnt()
867 umountall(rqstp); in mnt()
872 export(rqstp); in mnt()
876 if (rqstp->rq_vers == MOUNTVERS_POSIX) in mnt()
877 mnt_pathconf(rqstp); in mnt()
926 mnt_pathconf(struct svc_req *rqstp) in mnt_pathconf() argument
933 transp = rqstp->rq_xprt; in mnt_pathconf()
[all …]
H A Dexportlist.c67 export(struct svc_req *rqstp) in export() argument
80 transp = rqstp->rq_xprt; in export()
/illumos-gate/usr/src/cmd/keyserv/
H A Dkeyserv.c1071 keyprogram(rqstp, transp) in keyprogram() argument
1072 struct svc_req *rqstp; in keyprogram()
1118 switch (rqstp->rq_proc) {
1286 if (!get_auth(transp, rqstp, &uid)) {
1319 get_auth(trans, rqstp, uid) in get_auth() argument
1321 struct svc_req *rqstp;
1334 if (rqstp->rq_cred.oa_flavor == AUTH_SYS ||
1335 rqstp->rq_cred.oa_flavor == AUTH_LOOPBACK) {
1338 *uid = ((struct authunix_parms *)rqstp->rq_clntcred)->aup_uid;
/illumos-gate/usr/src/cmd/fs.d/nfs/statd/
H A Dsm_svc.c195 sm_prog_1(struct svc_req *rqstp, SVCXPRT *transp) in sm_prog_1() argument
221 if (rqstp->rq_prog == NSM_ADDR_PROGRAM) { in sm_prog_1()
222 switch (rqstp->rq_proc) { in sm_prog_1()
240 switch (rqstp->rq_proc) { in sm_prog_1()
/illumos-gate/usr/src/cmd/ypcmd/yppasswd/
H A Dyppasswdd.c68 static void boilerplate(struct svc_req *rqstp, SVCXPRT *transp);
534 boilerplate(struct svc_req *rqstp, SVCXPRT *transp) in boilerplate() argument
536 switch (rqstp->rq_proc) { in boilerplate()

12