Searched refs:prcred (Results 1 - 14 of 14) sorted by relevance

/illumos-gate/usr/src/cmd/ptools/pcred/
H A Dpcred.c159 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 Dgen_layout_obj.c48 prcred_t prcred; variable
H A Dstruct_layout.h547 const sl_prcred_layout_t *prcred; /* prcred_t */ member in struct:__anon69
H A Dgen_struct_layout.c378 START(prcred, prcred_t);
654 (void) printf(fmt, "prcred");
H A Dcorenote.c1570 const sl_prcred_layout_t *layout = state->ns_arch->prcred;
/illumos-gate/usr/src/uts/common/sys/
H A Dcred.h55 struct prcred;
152 extern void cred2prcred(const cred_t *, struct prcred *);
H A Dprsystm.h54 struct prcred;
81 /* Work around lint confusion between old and new prcred definitions */
84 extern void prgetcred(proc_t *, struct prcred *);
H A Dprocfs.h381 typedef struct prcred { struct
/illumos-gate/usr/src/uts/common/fs/proc/
H A Dprcontrol.c100 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 Dprioctl.c191 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 Dsubr.c304 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 Dpriocntl.c482 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 Dold_procfs.h78 #define prcred Prcred macro
356 typedef struct prcred { struct
/illumos-gate/usr/src/uts/sparc/sys/
H A Dold_procfs.h78 #define prcred Prcred macro
355 typedef struct prcred { struct

Completed in 101 milliseconds