Home
last modified time | relevance | path

Searched refs:spwd_scratch (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/lib/passwdutil/
H A Dnss_attr.c70 char *spwd_scratch; member
173 if ((pwbuf->spwd_scratch = malloc(SPW_SCRATCH_SIZE)) == NULL) { in nss_getpwnam()
177 if (getspnam_r(name, pwbuf->spwd, pwbuf->spwd_scratch, in nss_getpwnam()
207 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in nss_getpwnam()
315 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in nss_getattr()
H A Dfiles_attr.c86 char *spwd_scratch; member
302 if ((pwbuf->spwd_scratch = malloc(SPW_SCRATCH_SIZE)) == NULL) { in files_getpwnam()
306 if (private_getspnam_r(name, pwbuf->spwd, pwbuf->spwd_scratch, in files_getpwnam()
318 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_getpwnam()
368 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_user_to_authenticate()
612 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_getattr()
1130 (void) memset(pwbuf->spwd_scratch, 0, SPW_SCRATCH_SIZE); in files_putpwnam()
1132 free(pwbuf->spwd_scratch); in files_putpwnam()