/illumos-gate/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 147 pcr->pr_ngroups = ngrp; in credupdate() 217 if (prcred->pr_ngroups != 0 && in look() 218 (all || prcred->pr_ngroups != 1 || in look() 223 for (i = 0; i < prcred->pr_ngroups; i++) in look()
|
/illumos-gate/usr/src/lib/libproc/common/ |
H A D | proc_set.c | 49 ngrp = credp->pr_ngroups; in Psetcred()
|
H A D | Pgcore.c | 1427 if (cred.pr_ngroups > 0) in Pfgcore() 1428 size += sizeof (gid_t) * (cred.pr_ngroups - 1); in Pfgcore() 1432 if (Pcred(P, cp, cred.pr_ngroups) != 0 || in Pfgcore()
|
H A D | Pcore.c | 148 ngroups = MIN(ngroups, core->core_cred->pr_ngroups); in Pcred_core() 926 if (pcrp->pr_ngroups > ngroups) { in note_cred() 928 pcrp->pr_ngroups, ngroups); in note_cred() 929 pcrp->pr_ngroups = ngroups; in note_cred()
|
/illumos-gate/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 205 if (cr->pr_ngroups > 0) in ucred_getgroups() 210 return (cr->pr_ngroups); in ucred_getgroups()
|
/illumos-gate/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 124 if (pcrp->pr_ngroups != 0) { in setup_note_header() 126 sizeof (gid_t) * (pcrp->pr_ngroups - 1), sizeof (Word)); in setup_note_header() 353 if (bigwad->pcred.pr_ngroups != 0) { in write_elfnotes() 355 sizeof (gid_t) * (bigwad->pcred.pr_ngroups - 1); in write_elfnotes()
|
/illumos-gate/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 112 if (cred->pr_ngroups < 0 || cred->pr_ngroups > ngroups_max) { in prwritectl_pcscredx_sizef() 116 if (cred->pr_ngroups == 0) { in prwritectl_pcscredx_sizef() 119 *sizep = (cred->pr_ngroups - 1) * sizeof (gid_t); in prwritectl_pcscredx_sizef() 802 if (cred->pr_ngroups < 0 || cred->pr_ngroups > ngroups_max) { in prwritectl_pcscredx32_sizef() 806 if (cred->pr_ngroups == 0) { in prwritectl_pcscredx32_sizef() 809 *sizep = (cred->pr_ngroups - 1) * sizeof (gid32_t); in prwritectl_pcscredx32_sizef() 2303 int ngrp = prcred->pr_ngroups; in pr_scred() 2344 (void) crsetgroups(newcred, prcred->pr_ngroups, in pr_scred()
|
H A D | prioctl.c | 1008 un.prcred.pr_ngroups = crgetngroups(cp); in prioctl64() 2610 un32.prcred.pr_ngroups = crgetngroups(cp); in prioctl32()
|
H A D | prvnops.c | 1063 if (pcrp->pr_ngroups > 1) in pr_read_cred() 1064 count += sizeof (gid_t) * (pcrp->pr_ngroups - 1); in pr_read_cred()
|
/illumos-gate/usr/src/uts/common/sys/ |
H A D | procfs.h | 392 int pr_ngroups; /* number of supplementary groups */ 904 int pr_ngroups; /* number of supplementary groups */
|
/illumos-gate/usr/src/uts/common/os/ |
H A D | cred.c | 891 pcrp->pr_ngroups = cr->cr_grps == NULL ? 0 : cr->cr_grps->crg_ngroups; in cred2prcred() 893 if (pcrp->pr_ngroups != 0) in cred2prcred() 895 sizeof (gid_t) * pcrp->pr_ngroups); in cred2prcred()
|
/illumos-gate/usr/src/cmd/sgs/elfdump/common/ |
H A D | struct_layout.h | 381 sl_field_t pr_ngroups; member
|
H A D | corenote.c | 1652 PRINT_DEC(MSG_ORIG(MSG_CNOTE_T_PR_NGROUPS), pr_ngroups); in dump_prcred() 1654 if (data_present(state, &layout->pr_ngroups)) { in dump_prcred() 1655 ngroups = extract_as_word(state, &layout->pr_ngroups); in dump_prcred()
|
H A D | gen_struct_layout.c | 391 SCALAR_FIELD(prcred_t, pr_ngroups, 1); in gen_prcred()
|
H A D | elfdump.msg | 555 @ MSG_CNOTE_T_PR_NGROUPS "pr_ngroups:"
|
/illumos-gate/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 363 uint_t pr_ngroups; /* Number of supplementary groups */ member
|
/illumos-gate/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 362 uint_t pr_ngroups; /* Number of supplementary groups */ member
|
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/ |
H A D | gcore.c | 1621 prcp->pr_ngroups = 0; in Pcred_gcore() 1631 prcp->pr_ngroups = MIN(ngroups, crgrp.crg_ngroups); in Pcred_gcore() 1632 for (i = 0; i < prcp->pr_ngroups; i++) { in Pcred_gcore()
|
/illumos-gate/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 5172 cbytes = (cr.pr_ngroups <= 1) ? sizeof (prcred_t) : in pt_xd_cred() 5173 (sizeof (prcred_t) + (cr.pr_ngroups - 1) * sizeof (gid_t)); in pt_xd_cred() 5184 if (Pcred(t->t_pshandle, crp, cr.pr_ngroups) == -1) in pt_xd_cred()
|