Searched defs:pcrp (Results 1 - 6 of 6) sorted by relevance
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 79 prcred_t *pcrp; local 118 pcrp = kmem_alloc(size, KM_SLEEP); 119 prgetcred(p, pcrp); 120 if (pcrp->pr_ngroups != 0) { 122 sizeof (gid_t) * (pcrp->pr_ngroups - 1), sizeof (Word)); 127 kmem_free(pcrp, size);
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prsubr.c | 4151 prgetcred(proc_t *p, prcred_t *pcrp) argument 4154 cred2prcred(p->p_cred, pcrp);
|
H A D | prvnops.c | 948 prcred_t *pcrp; local 958 pcrp = 967 prgetcred(p, pcrp); 971 if (pcrp->pr_ngroups > 1) 972 count += sizeof (gid_t) * (pcrp->pr_ngroups - 1); 973 error = pr_uioread(pcrp, count, uiop); 975 kmem_free(pcrp, sizeof (prcred_t) + sizeof (gid_t) * (ngroups_max - 1));
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | Pcore.c | 138 Pcred_core(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) argument 150 (void) memcpy(pcrp, core->core_cred, 852 prcred_t *pcrp; local 868 if ((pcrp = malloc(nbytes)) == NULL) 871 if (read(P->asfd, pcrp, nbytes) != nbytes) { 873 free(pcrp); 877 if (pcrp->pr_ngroups > ngroups) { 879 pcrp->pr_ngroups, ngroups); 880 pcrp->pr_ngroups = ngroups; 883 core->core_cred = pcrp; [all...] |
H A D | Pcontrol.c | 175 Pcred_live(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) argument 177 return (proc_get_cred(P->pid, pcrp, ngroups)); 1300 Pcred(struct ps_prochandle *P, prcred_t *pcrp, int ngroups) argument 1302 return (P->ops.pop_cred(P, pcrp, ngroups, P->data));
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 881 cred2prcred(const cred_t *cr, prcred_t *pcrp) argument 883 pcrp->pr_euid = cr->cr_uid; 884 pcrp->pr_ruid = cr->cr_ruid; 885 pcrp->pr_suid = cr->cr_suid; 886 pcrp->pr_egid = cr->cr_gid; 887 pcrp->pr_rgid = cr->cr_rgid; 888 pcrp->pr_sgid = cr->cr_sgid; 889 pcrp->pr_groups[0] = 0; /* in case ngroups == 0 */ 890 pcrp->pr_ngroups = cr->cr_grps == NULL ? 0 : cr->cr_grps->crg_ngroups; 892 if (pcrp [all...] |
Completed in 97 milliseconds