Searched refs:pwd_scratch (Results 1 – 2 of 2) sorted by relevance
/illumos-gate/usr/src/lib/passwdutil/ |
H A D | nss_attr.c | 68 char *pwd_scratch; member 161 if ((pwbuf->pwd_scratch = malloc(PWD_SCRATCH_SIZE)) == NULL) { in nss_getpwnam() 165 if (getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch, in nss_getpwnam() 187 char pwd_scratch[PWD_SCRATCH_SIZE]; in nss_getpwnam() local 190 if (private_getpwnam_r(name, &pwd, pwd_scratch, in nss_getpwnam() 205 if (pwbuf->pwd_scratch) free(pwbuf->pwd_scratch); in nss_getpwnam() 313 if (pwbuf->pwd_scratch) free(pwbuf->pwd_scratch); in nss_getattr()
|
H A D | files_attr.c | 84 char *pwd_scratch; member 290 if ((pwbuf->pwd_scratch = malloc(PWD_SCRATCH_SIZE)) == NULL) { in files_getpwnam() 294 if (private_getpwnam_r(name, pwbuf->pwd, pwbuf->pwd_scratch, in files_getpwnam() 316 if (pwbuf->pwd_scratch) free(pwbuf->pwd_scratch); in files_getpwnam() 366 if (pwbuf->pwd_scratch) free(pwbuf->pwd_scratch); in files_user_to_authenticate() 610 if (pwbuf->pwd_scratch) free(pwbuf->pwd_scratch); in files_getattr() 1124 (void) memset(pwbuf->pwd_scratch, 0, PWD_SCRATCH_SIZE); in files_putpwnam() 1126 free(pwbuf->pwd_scratch); in files_putpwnam()
|