Home
last modified time | relevance | path

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

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