Home
last modified time | relevance | path

Searched refs:pr_ngroups (Results 1 – 19 of 19) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c147 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 Dproc_set.c49 ngrp = credp->pr_ngroups; in Psetcred()
H A DPgcore.c1427 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 DPcore.c148 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 Ducred.c205 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 Delf_notes.c124 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 Dprcontrol.c112 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 Dprioctl.c1008 un.prcred.pr_ngroups = crgetngroups(cp); in prioctl64()
2610 un32.prcred.pr_ngroups = crgetngroups(cp); in prioctl32()
H A Dprvnops.c1063 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 Dprocfs.h392 int pr_ngroups; /* number of supplementary groups */
904 int pr_ngroups; /* number of supplementary groups */
/illumos-gate/usr/src/uts/common/os/
H A Dcred.c891 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 Dstruct_layout.h381 sl_field_t pr_ngroups; member
H A Dcorenote.c1652 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 Dgen_struct_layout.c391 SCALAR_FIELD(prcred_t, pr_ngroups, 1); in gen_prcred()
H A Delfdump.msg555 @ MSG_CNOTE_T_PR_NGROUPS "pr_ngroups:"
/illumos-gate/usr/src/uts/intel/sys/
H A Dold_procfs.h363 uint_t pr_ngroups; /* Number of supplementary groups */ member
/illumos-gate/usr/src/uts/sparc/sys/
H A Dold_procfs.h362 uint_t pr_ngroups; /* Number of supplementary groups */ member
/illumos-gate/usr/src/cmd/mdb/common/modules/genunix/
H A Dgcore.c1621 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 Dmdb_proc.c5172 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()