Searched defs:pwp (Results 1 - 4 of 4) sorted by relevance

/osnet-11/usr/src/lib/pam_modules/authtok_check/
H A Dfascist.c387 FascistLook(PWDICT *pwp, char *instring) argument
394 notfound = PW_WORDS(pwp);
415 if (FindPW(pwp, a) != notfound) {
428 if (FindPW(pwp, a) != notfound) {
439 PWDICT *pwp; local
442 if ((pwp = PWOpen(path, "rF")) == NULL)
445 r = FascistLook(pwp, password);
446 (void) PWClose(pwp);
H A Dpacklib.c137 PWClose(PWDICT *pwp) argument
139 if (pwp->header.pih_magic != PIH_MAGIC) {
143 if (pwp->flags & PFOR_WRITE) {
144 pwp->flags |= PFOR_FLUSH;
145 (void) PutPW(pwp, (char *)0); /* flush last index if necess */
147 if (fseek(pwp->ifp, 0L, 0)) {
151 if (!fwrite((char *)&pwp->header, sizeof (pwp->header),
152 1, pwp->ifp)) {
156 if (pwp
180 PutPW(PWDICT *pwp, char *string) argument
238 GetPW(PWDICT *pwp, uint32_t number) argument
296 FindPW(PWDICT *pwp, char *string) argument
[all...]
H A Dpacker.c290 merge_files(PWDICT *pwp) argument
333 (void) PutPW(pwp, words[choice]);
358 PWDICT *pwp; local
367 if (!(pwp = PWOpen(path, "wF"))) {
380 ret = merge_files(pwp);
382 (void) PWClose(pwp);
/osnet-11/usr/src/lib/libpkg/common/
H A Dpkgexecv.c141 struct passwd *pwp; local
433 if (uname && *uname && (pwp = cpwnam(uname)) != NULL) {
434 if (setuid(pwp->pw_uid) == -1) {
435 progerr(pkg_gt(ERR_SETUID), pwp->pw_uid);

Completed in 17 milliseconds