/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 159 static prcred_t *prcred = NULL; local 164 if (prcred == NULL) { 165 prcred = malloc(sizeof (prcred_t) + 167 if (prcred == NULL) { 181 if (Pcred(Pr, prcred, ngroups_max) == -1) { 188 credupdate(prcred); 189 if (Psetcred(Pr, prcred) != 0) { 204 prcred->pr_euid == prcred->pr_ruid && 205 prcred [all...] |
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_layout_obj.c | 48 prcred_t prcred; variable
|
H A D | struct_layout.h | 547 const sl_prcred_layout_t *prcred; /* prcred_t */ member in struct:__anon69
|
H A D | gen_struct_layout.c | 378 START(prcred, prcred_t); 654 (void) printf(fmt, "prcred");
|
H A D | corenote.c | 1570 const sl_prcred_layout_t *layout = state->ns_arch->prcred;
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | cred.h | 55 struct prcred; 152 extern void cred2prcred(const cred_t *, struct prcred *);
|
H A D | prsystm.h | 54 struct prcred; 81 /* Work around lint confusion between old and new prcred definitions */ 84 extern void prgetcred(proc_t *, struct prcred *);
|
H A D | procfs.h | 381 typedef struct prcred { struct
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 100 prcred_t prcred; /* PCSCRED */ member in union:__anon142 184 ngrp = argp->prcred.pr_ngroups; 480 error = pr_scred(p, &argp->prcred, cr, cmd == PCSCREDX); 515 prcred32_t prcred; /* PCSCRED */ member in union:__anon143 602 ngrp = argp->prcred.pr_ngroups; 966 prcred_t *prcred = (prcred_t *)&argp->prcred; local 972 error = pr_scred(p, prcred, cr, cmd == PCSCREDX); 2167 pr_scred(proc_t *p, prcred_t *prcred, cred_t *cr, boolean_t dogrps) argument 2176 if (!VALID_UID(prcred [all...] |
H A D | prioctl.c | 191 prcred_t prcred; member in union:__anon144 1030 un.prcred.pr_euid = crgetuid(cp); 1031 un.prcred.pr_ruid = crgetruid(cp); 1032 un.prcred.pr_suid = crgetsuid(cp); 1033 un.prcred.pr_egid = crgetgid(cp); 1034 un.prcred.pr_rgid = crgetrgid(cp); 1035 un.prcred.pr_sgid = crgetsgid(cp); 1036 un.prcred.pr_ngroups = crgetngroups(cp); 1040 if (copyout(&un.prcred, cmaddr, sizeof (un.prcred))) 1729 prcred_t prcred; member in union:__anon145 1754 prcred_t prcred; member in union:__anon146 [all...] |
/illumos-gate/usr/src/cmd/priocntl/ |
H A D | subr.c | 304 prcred_t prcred; local 361 read(procfd, &prcred, sizeof (prcred)) != 362 sizeof (prcred)) { 400 if (id == (id_t)prcred.pr_euid) 405 if (id == (id_t)prcred.pr_egid)
|
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)) { [all...] |
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 78 #define prcred Prcred macro 356 typedef struct prcred { struct
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 78 #define prcred Prcred macro 355 typedef struct prcred { struct
|