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.c69 char *spwd_scratch; member
171 if ((pwbuf->spwd_scratch = malloc(SPW_SCRATCH_SIZE)) == NULL) { in nss_getpwnam()
175 if (getspnam_r(name, pwbuf->spwd, pwbuf->spwd_scratch, in nss_getpwnam()
205 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in nss_getpwnam()
313 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in nss_getattr()
H A Dfiles_attr.c83 char *spwd_scratch; member
298 if ((pwbuf->spwd_scratch = malloc(SPW_SCRATCH_SIZE)) == NULL) { in files_getpwnam()
302 if (private_getspnam_r(name, pwbuf->spwd, pwbuf->spwd_scratch, in files_getpwnam()
314 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_getpwnam()
364 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_user_to_authenticate()
608 if (pwbuf->spwd_scratch) free(pwbuf->spwd_scratch); in files_getattr()
1125 (void) memset(pwbuf->spwd_scratch, 0, SPW_SCRATCH_SIZE); in files_putpwnam()
1127 free(pwbuf->spwd_scratch); in files_putpwnam()