/titanic_50/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 159 static prcred_t *prcred = NULL; in look() local 164 if (prcred == NULL) { in look() 165 prcred = malloc(sizeof (prcred_t) + in look() 167 if (prcred == NULL) { in look() 181 if (Pcred(Pr, prcred, ngroups_max) == -1) { in look() 188 credupdate(prcred); in look() 189 if (Psetcred(Pr, prcred) != 0) { in look() 204 prcred->pr_euid == prcred->pr_ruid && in look() 205 prcred->pr_ruid == prcred->pr_suid) in look() 206 (void) printf("e/r/suid=%u ", prcred->pr_euid); in look() [all …]
|
/titanic_50/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 100 prcred_t prcred; /* PCSCRED */ member 184 ngrp = argp->prcred.pr_ngroups; in ctlsize() 480 error = pr_scred(p, &argp->prcred, cr, cmd == PCSCREDX); in pr_control() 515 prcred32_t prcred; /* PCSCRED */ member 602 ngrp = argp->prcred.pr_ngroups; in ctlsize32() 966 prcred_t *prcred = (prcred_t *)&argp->prcred; in pr_control32() local 972 error = pr_scred(p, prcred, cr, cmd == PCSCREDX); in pr_control32() 2167 pr_scred(proc_t *p, prcred_t *prcred, cred_t *cr, boolean_t dogrps) in pr_scred() argument 2176 if (!VALID_UID(prcred->pr_euid, zone) || in pr_scred() 2177 !VALID_UID(prcred->pr_ruid, zone) || in pr_scred() [all …]
|
H A D | prioctl.c | 191 prcred_t prcred; in prioctl64() member 1030 un.prcred.pr_euid = crgetuid(cp); in prioctl64() 1031 un.prcred.pr_ruid = crgetruid(cp); in prioctl64() 1032 un.prcred.pr_suid = crgetsuid(cp); in prioctl64() 1033 un.prcred.pr_egid = crgetgid(cp); in prioctl64() 1034 un.prcred.pr_rgid = crgetrgid(cp); in prioctl64() 1035 un.prcred.pr_sgid = crgetsgid(cp); in prioctl64() 1036 un.prcred.pr_ngroups = crgetngroups(cp); in prioctl64() 1040 if (copyout(&un.prcred, cmaddr, sizeof (un.prcred))) in prioctl64() 1729 prcred_t prcred; in prioctl32() member [all …]
|
/titanic_50/usr/src/cmd/priocntl/ |
H A D | priocntl.c | 482 static prcred_t prcred; local 588 read(procfd, &prcred, sizeof (prcred)) != 589 sizeof (prcred)) { 642 itoa((long)prcred.pr_euid, idstr); 648 itoa((long)prcred.pr_egid, idstr); 802 static prcred_t prcred; local 852 read(procfd, &prcred, sizeof (prcred)) != 853 sizeof (prcred)) { 923 if (idlist[i] == (id_t)prcred.pr_euid) 932 if (idlist[i] == (id_t)prcred.pr_egid)
|
H A D | subr.c | 307 prcred_t prcred; in verifyupri() local 364 read(procfd, &prcred, sizeof (prcred)) != in verifyupri() 365 sizeof (prcred)) { in verifyupri() 403 if (id == (id_t)prcred.pr_euid) in verifyupri() 408 if (id == (id_t)prcred.pr_egid) in verifyupri()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | prsystm.h | 54 struct prcred; 83 extern void prgetcred(proc_t *, struct prcred *);
|
H A D | cred.h | 55 struct prcred; 152 extern void cred2prcred(const cred_t *, struct prcred *);
|
H A D | procfs.h | 380 typedef struct prcred {
|
/titanic_50/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_layout_obj.c | 47 prcred_t prcred; variable
|
H A D | struct_layout.h | 538 const sl_prcred_layout_t *prcred; /* prcred_t */ member
|
H A D | gen_struct_layout.c | 378 START(prcred, prcred_t); in gen_prcred()
|
H A D | corenote.c | 1527 const sl_prcred_layout_t *layout = state->ns_arch->prcred; in dump_prcred()
|
/titanic_50/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 78 #define prcred Prcred macro 355 typedef struct prcred { struct
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 78 #define prcred Prcred macro 356 typedef struct prcred { struct
|