/titanic_41/usr/src/lib/libnsl/rpc/ |
H A D | svc_auth_loopb.c | 58 struct authsys_parms *aup; in __svcauth_loopback() local 67 aup = &area->area_aup; in __svcauth_loopback() 68 aup->aup_machname = area->area_machname; in __svcauth_loopback() 69 aup->aup_gids = area->area_gids; in __svcauth_loopback() 77 aup->aup_time = IXDR_GET_INT32(buf); in __svcauth_loopback() 83 (void) memcpy(aup->aup_machname, buf, str_len); in __svcauth_loopback() 84 aup->aup_machname[str_len] = 0; in __svcauth_loopback() 87 aup->aup_uid = IXDR_GET_INT32(buf); in __svcauth_loopback() 88 aup->aup_gid = IXDR_GET_INT32(buf); in __svcauth_loopback() 99 aup->aup_len = gid_len; in __svcauth_loopback() [all …]
|
H A D | svc_auth_sys.c | 72 struct authsys_parms *aup; in __svcauth_sys() local 81 aup = &area->area_aup; in __svcauth_sys() 82 aup->aup_machname = area->area_machname; in __svcauth_sys() 83 aup->aup_gids = area->area_gids; in __svcauth_sys() 91 aup->aup_time = IXDR_GET_INT32(buf); in __svcauth_sys() 95 (void) memcpy(aup->aup_machname, buf, str_len); in __svcauth_sys() 96 aup->aup_machname[str_len] = 0; in __svcauth_sys() 99 aup->aup_uid = IXDR_GET_INT32(buf); in __svcauth_sys() 100 aup->aup_gid = IXDR_GET_INT32(buf); in __svcauth_sys() 104 aup->aup_len = gid_len; in __svcauth_sys() [all …]
|
H A D | auth_sys.c | 88 struct authsys_parms aup; in authsys_create() local 120 aup.aup_time = now.tv_sec; in authsys_create() 121 aup.aup_machname = (char *)machname; in authsys_create() 122 aup.aup_uid = uid; in authsys_create() 123 aup.aup_gid = gid; in authsys_create() 124 aup.aup_len = (uint_t)len; in authsys_create() 125 aup.aup_gids = (gid_t *)aup_gids; in authsys_create() 131 if (!xdr_authsys_parms(&xdrs, &aup)) { in authsys_create() 287 struct authsys_parms aup; in authsys_refresh() local 297 aup.aup_machname = NULL; in authsys_refresh() [all …]
|
/titanic_41/usr/src/uts/common/rpc/sec/ |
H A D | svc_authu.c | 74 struct authunix_parms *aup; in _svcauth_unix() local 88 aup = &area->area_aup; in _svcauth_unix() 89 aup->aup_machname = area->area_machname; in _svcauth_unix() 90 aup->aup_gids = area->area_gids; in _svcauth_unix() 98 aup->aup_time = IXDR_GET_INT32(buf); in _svcauth_unix() 102 bcopy((caddr_t)buf, aup->aup_machname, str_len); in _svcauth_unix() 103 aup->aup_machname[str_len] = 0; in _svcauth_unix() 106 aup->aup_uid = IXDR_GET_INT32(buf); in _svcauth_unix() 107 aup->aup_gid = IXDR_GET_INT32(buf); in _svcauth_unix() 111 aup->aup_len = gid_len; in _svcauth_unix() [all …]
|
H A D | sec_svc.c | 149 struct authunix_parms *aup; in sec_svc_getcred() local 163 aup = (struct authunix_parms *)req->rq_clntcred; in sec_svc_getcred() 164 if (crsetugid(cr, aup->aup_uid, aup->aup_gid) != 0) in sec_svc_getcred() 166 if (crsetgroups(cr, aup->aup_len, aup->aup_gids) != 0) in sec_svc_getcred()
|
/titanic_41/usr/src/stand/lib/fs/nfs/ |
H A D | auth_unix.c | 84 struct authunix_parms aup; in authunix_create() local 117 aup.aup_time = prom_gettime() / 1000; in authunix_create() 118 aup.aup_machname = machname; in authunix_create() 119 aup.aup_uid = uid; in authunix_create() 120 aup.aup_gid = gid; in authunix_create() 121 aup.aup_len = (uint_t)len; in authunix_create() 122 aup.aup_gids = (gid_t *)aup_gids; in authunix_create() 128 if (!xdr_authunix_parms(&xdrs, &aup)) { in authunix_create() 203 struct authunix_parms aup; in authunix_refresh() local 214 aup.aup_machname = (char *)0; in authunix_refresh() [all …]
|
/titanic_41/usr/src/cmd/sgs/libld/common/ |
H A D | libs.c | 269 ld_ar_member(Ar_desc * adp, Elf_Arsym * arsym, Ar_aux * aup, Ar_mem * amp) in ld_ar_member() argument 272 Ar_aux * _aup = aup; in ld_ar_member() 298 _aup = aup; in ld_ar_member() 458 Ar_aux * aup; in ar_extract_bysym() local 489 for (arsym = adp->ad_start, aup = adp->ad_aux; arsym->as_name; in ar_extract_bysym() 490 ++arsym, ++aup) { in ar_extract_bysym() 504 if (aup->au_mem == FLG_ARMEM_PROC) in ar_extract_bysym() 511 if ((sdp = aup->au_syms) == NULL) { in ar_extract_bysym() 519 aup->au_syms = sdp; in ar_extract_bysym() 578 if ((amp = aup->au_mem) != 0) { in ar_extract_bysym() [all …]
|
H A D | ldmain.c | 531 Ar_aux *aup; in ld_ofl_cleanup() local 534 for (arsym = adp->ad_start, aup = adp->ad_aux; in ld_ofl_cleanup() 535 arsym->as_name; ++arsym, ++aup) { in ld_ofl_cleanup() 536 if ((aup->au_mem) && (aup->au_mem != FLG_ARMEM_PROC)) { in ld_ofl_cleanup() 537 (void) elf_end(aup->au_mem->am_elf); in ld_ofl_cleanup() 543 ld_ar_member(adp, arsym, aup, 0); in ld_ofl_cleanup()
|
/titanic_41/usr/src/cmd/ypcmd/ |
H A D | ypupdated.c | 211 struct authunix_parms *aup; local 245 aup = (struct authunix_parms *)rqstp->rq_clntcred; 246 if (aup->aup_uid == 0) { 250 aup->aup_uid); 255 if (user2netname(namebuf, aup->aup_uid, NULL) 259 aup->aup_uid);
|
/titanic_41/usr/src/cmd/ypcmd/ypupdated/ |
H A D | rpc.ypupdated.c | 209 struct authunix_parms *aup; local 242 aup = (struct authunix_parms *)rqstp->rq_clntcred; 243 if (aup->aup_uid == 0) { 249 user2netname(namebuf, aup->aup_uid, NULL);
|
/titanic_41/usr/src/cmd/gss/gssd/ |
H A D | gssd_proc.c | 2625 struct authunix_parms *aup; local 2654 aup = (struct authunix_parms *)rqstp->rq_clntcred; 2655 *uidp = aup->aup_uid;
|