Searched refs:pproj (Results 1 - 3 of 3) sorted by relevance

/illumos-gate/usr/src/cmd/getent/
H A Ddogetproject.c80 struct project *pproj; local
88 while ((pproj = getprojent(&proj, buf, PROJECT_BUFSZ)) != NULL)
89 (void) putprojent(pproj, stdout);
95 pproj = getprojbyname(*list, &proj,
98 pproj = getprojbyid(projid, &proj,
100 if (pproj == NULL)
103 (void) putprojent(pproj, stdout);
/illumos-gate/usr/src/lib/pam_modules/unix_cred/
H A Dunix_cred.c189 struct project proj, *pproj; local
435 pproj = getdefaultproj(user, &proj, (void *)&buf,
438 pproj = getprojbyname(projname, &proj, (void *)&buf,
444 if (pproj == NULL) {
/illumos-gate/usr/src/cmd/cron/
H A Dcron.c2191 struct project proj, *pproj = NULL; local
2370 if ((pproj = getprojbyid(projid, &proj,
2373 !inproj(e->u->name, pproj->pj_name,
2396 r = set_user_cred(e->u, pproj);
3287 set_user_cred(const struct usr *u, struct project *pproj) argument
3318 if (pproj != NULL) {
3319 size_t sz = sizeof (PROJECT) + strlen(pproj->pj_name);
3322 (void) snprintf(buf, sz, PROJECT "%s", pproj->pj_name);

Completed in 70 milliseconds