/titanic_50/usr/src/lib/libc/port/gen/ |
H A D | ucred.c | 114 const prcred_t *cr = UCCRED(uc); in ucred_geteuid() 128 const prcred_t *cr = UCCRED(uc); in ucred_getruid() 142 const prcred_t *cr = UCCRED(uc); in ucred_getsuid() 156 const prcred_t *cr = UCCRED(uc); in ucred_getegid() 170 const prcred_t *cr = UCCRED(uc); in ucred_getrgid() 184 const prcred_t *cr = UCCRED(uc); in ucred_getsgid() 198 const prcred_t *cr = UCCRED(uc); in ucred_getgroups()
|
/titanic_50/usr/src/lib/libproc/common/ |
H A D | proc_set.c | 39 Psetcred(struct ps_prochandle *Pr, const prcred_t *credp) in Psetcred() 45 prcred_t cred; in Psetcred() 52 ctlsize = sizeof (prcred_t) + (ngrp - 1) * sizeof (gid_t); in Psetcred()
|
H A D | libproc.h | 203 typedef int (*pop_cred_t)(struct ps_prochandle *, prcred_t *, int, 274 extern int Pcred(struct ps_prochandle *, prcred_t *, int); 275 extern int Psetcred(struct ps_prochandle *, const prcred_t *); 704 extern int proc_get_cred(pid_t, prcred_t *, int);
|
H A D | proc_get_info.c | 52 proc_get_cred(pid_t pid, prcred_t *credp, int ngroups) in proc_get_cred()
|
H A D | Pcontrol.h | 160 prcred_t *core_cred; /* process credential from core file */
|
H A D | llib-lproc | 51 int Pcred(struct ps_prochandle *Pr, prcred_t *pcrp, int ngroups); 344 int proc_get_cred(pid_t pid, prcred_t *credp, int ngroups); 383 int Psetcred(struct ps_prochandle *Pr, const prcred_t *pcred);
|
H A D | Pcore.c | 138 Pcred_core(struct ps_prochandle *P, prcred_t *pcrp, int ngroups, void *data) in Pcred_core() 151 sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t)); in Pcred_core() 802 prcred_t *pcrp; in note_cred() 804 const size_t min_size = sizeof (prcred_t) - sizeof (gid_t); in note_cred() 816 nbytes = sizeof (prcred_t) + (ngroups - 1) * sizeof (gid_t); in note_cred()
|
H A D | Pgcore.c | 1365 prcred_t cred, *cp; in Pfgcore() 1366 size_t size = sizeof (prcred_t); in Pfgcore()
|
/titanic_50/usr/src/uts/common/sys/ |
H A D | ucred.h | 74 #define UCCRED(uc) (prcred_t *)(((uc)->uc_credoff == 0) ? NULL : \ 109 #define UCRED_SIZE (UCRED_CRED_OFF + sizeof (prcred_t) + \ 124 #define UCRED_SIZE(ip) (sizeof (struct ucred_s) + sizeof (prcred_t) + \
|
H A D | procfs.h | 389 } prcred_t;
|
/titanic_50/usr/src/uts/common/exec/elf/ |
H A D | elf_notes.c | 79 prcred_t *pcrp; in setup_note_header() 116 size = sizeof (prcred_t) + sizeof (gid_t) * (ngroups_max - 1); in setup_note_header() 120 v[0].p_filesz += sizeof (Note) + roundup(sizeof (prcred_t) + in setup_note_header() 124 roundup(sizeof (prcred_t), sizeof (Word)); in setup_note_header() 181 prcred_t pcred; in write_elfnotes() 188 size_t crsize = sizeof (prcred_t) + sizeof (gid_t) * (ngroups_max - 1); in write_elfnotes() 293 crsize = sizeof (prcred_t) + in write_elfnotes() 296 crsize = sizeof (prcred_t); in write_elfnotes()
|
/titanic_50/usr/src/cmd/sgs/elfdump/common/ |
H A D | gen_struct_layout.c | 378 START(prcred, prcred_t); in gen_prcred() 380 SCALAR_FIELD(prcred_t, pr_euid, 0); in gen_prcred() 381 SCALAR_FIELD(prcred_t, pr_ruid, 0); in gen_prcred() 382 SCALAR_FIELD(prcred_t, pr_suid, 0); in gen_prcred() 383 SCALAR_FIELD(prcred_t, pr_egid, 0); in gen_prcred() 384 SCALAR_FIELD(prcred_t, pr_rgid, 0); in gen_prcred() 385 SCALAR_FIELD(prcred_t, pr_sgid, 0); in gen_prcred() 386 SCALAR_FIELD(prcred_t, pr_ngroups, 1); in gen_prcred() 387 ARRAY_FIELD(prcred_t, pr_groups, 0); in gen_prcred()
|
H A D | gen_layout_obj.c | 47 prcred_t prcred;
|
/titanic_50/usr/src/cmd/ptools/pcred/ |
H A D | pcred.c | 141 credupdate(prcred_t *pcr) in credupdate() 159 static prcred_t *prcred = NULL; in look() 165 prcred = malloc(sizeof (prcred_t) + in look()
|
/titanic_50/usr/src/cmd/truss/ |
H A D | ramdata.c | 53 prcred_t credentials; /* traced process credentials */
|
H A D | ramdata.h | 137 extern prcred_t credentials; /* traced process credentials */
|
/titanic_50/usr/src/uts/common/fs/proc/ |
H A D | prcontrol.c | 76 static int pr_scred(proc_t *, prcred_t *, cred_t *, boolean_t); 100 prcred_t prcred; /* PCSCRED */ 175 size += sizeof (prcred_t); in ctlsize() 182 if (resid < size + sizeof (prcred_t) - sizeof (gid_t)) in ctlsize() 189 size += sizeof (prcred_t) - sizeof (gid_t); in ctlsize() 966 prcred_t *prcred = (prcred_t *)&argp->prcred; in pr_control32() 969 ASSERT(sizeof (prcred_t) == sizeof (prcred32_t)); in pr_control32() 2167 pr_scred(proc_t *p, prcred_t *prcred, cred_t *cr, boolean_t dogrps) in pr_scred()
|
H A D | prvnops.c | 945 prcred_t *pcrp; in pr_read_cred() 956 kmem_alloc(sizeof (prcred_t) + sizeof (gid_t) * (ngroups_max - 1), in pr_read_cred() 967 count = sizeof (prcred_t); in pr_read_cred() 972 kmem_free(pcrp, sizeof (prcred_t) + sizeof (gid_t) * (ngroups_max - 1)); in pr_read_cred() 3033 vap->va_size = sizeof (prcred_t); in prgetattr()
|
/titanic_50/usr/src/uts/sparc/sys/ |
H A D | old_procfs.h | 79 #define prcred_t Prcred_t macro 363 } prcred_t; typedef
|
/titanic_50/usr/src/uts/intel/sys/ |
H A D | old_procfs.h | 79 #define prcred_t Prcred_t macro 364 } prcred_t; typedef
|
/titanic_50/usr/src/cmd/newtask/ |
H A D | newtask.c | 326 prcred_t original_prcred, current_prcred; in update_running_proc() 515 prcred_t old_prcred; in set_ids()
|
/titanic_50/usr/src/cmd/priocntl/ |
H A D | priocntl.c | 482 static prcred_t prcred; 802 static prcred_t prcred;
|
H A D | subr.c | 307 prcred_t prcred; in verifyupri()
|
/titanic_50/usr/src/cmd/mdb/common/mdb/ |
H A D | mdb_proc.c | 1581 prcred_t cred; in pt_status_dcmd() 5100 prcred_t cr, *crp; in pt_xd_cred() 5104 cbytes = (cr.pr_ngroups <= 1) ? sizeof (prcred_t) : in pt_xd_cred() 5105 (sizeof (prcred_t) + (cr.pr_ngroups - 1) * sizeof (gid_t)); in pt_xd_cred()
|
/titanic_50/usr/src/uts/common/os/ |
H A D | cred.c | 879 cred2prcred(const cred_t *cr, prcred_t *pcrp) in cred2prcred()
|