/freebsd/crypto/heimdal/kadmin/ |
H A D | ank.c | 84 char pwbuf[1024]; in add_one_principal() local 119 random_password (pwbuf, sizeof(pwbuf)); in add_one_principal() 120 password = pwbuf; in add_one_principal() 122 random_password (pwbuf, sizeof(pwbuf)); in add_one_principal() 123 password = pwbuf; in add_one_principal() 131 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1); in add_one_principal() 138 password = pwbuf; in add_one_principal()
|
H A D | cpw.c | 85 char pwbuf[128]; in set_password() local 94 ret = UI_UTIL_read_pw_string(pwbuf, sizeof(pwbuf), prompt, 1); in set_password() 99 password = pwbuf; in set_password() 103 memset(pwbuf, 0, sizeof(pwbuf)); in set_password()
|
H A D | init.c | 53 char pwbuf[512]; in create_random_entry() local 55 random_password(pwbuf, sizeof(pwbuf)); in create_random_entry() 56 password = pwbuf; in create_random_entry()
|
/freebsd/usr.sbin/rpc.yppasswdd/ |
H A D | yppasswdd_server.c | 321 char *pwbuf; in update_inplace() local 330 pwbuf = NULL; in update_inplace() 392 free(pwbuf); in update_inplace() 393 asprintf(&pwbuf, ":%d:%d:", pw->pw_uid, pw->pw_gid); in update_inplace() 394 if (pwbuf == NULL) { in update_inplace() 398 if (!strstr(data.data, pwbuf)) { in update_inplace() 408 free(pwbuf); in update_inplace() 409 asprintf(&pwbuf, formats[i], in update_inplace() 415 free(pwbuf); in update_inplace() 416 asprintf(&pwbuf, formats[i], in update_inplace() [all …]
|
/freebsd/crypto/heimdal/lib/gssapi/krb5/ |
H A D | pname_to_uid.c | 50 char pwbuf[2048]; in _gsskrb5_pname_to_uid() 68 if (getpwnam_r(localname, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0) { in _gsskrb5_pname_to_uid()
|
/freebsd/contrib/libedit/ |
H A D | filecomplete.c | 69 char pwbuf[1024]; in fn_tilde_expand() local 94 if (getpwuid_r(getuid(), &pwres, pwbuf, sizeof(pwbuf), in fn_tilde_expand() 98 pass = getpwuid_r(getuid(), &pwres, pwbuf, sizeof(pwbuf)); in fn_tilde_expand() 104 if (getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf), &pass) != 0) in fn_tilde_expand() 107 pass = getpwnam_r(temp, &pwres, pwbuf, sizeof(pwbuf)); in fn_tilde_expand()
|
H A D | readline.c | 1885 char pwbuf[1024]; in username_completion_function() local 1900 getpwent_r(&pwres, pwbuf, sizeof(pwbuf), &pass) == 0 && pass != NULL in username_completion_function()
|
/freebsd/crypto/heimdal/kpasswd/ |
H A D | kpasswd.c | 65 char pwbuf[BUFSIZ]; in change_password() local 85 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg, 1); in change_password() 93 ret = krb5_set_password_using_ccache (context, id, pwbuf, in change_password()
|
/freebsd/crypto/heimdal/lib/gssapi/mech/ |
H A D | gss_pname_to_uid.c | 79 char pwbuf[2048]; in attr_pname_to_uid() 110 if (getpwnam_r(localname, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0) in attr_pname_to_uid()
|
/freebsd/crypto/heimdal/lib/krb5/ |
H A D | kuserok.c | 252 char pwbuf[2048]; in krb5_kuserok() local 255 if(getpwnam_r(luser, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0) in krb5_kuserok()
|
/freebsd/usr.bin/login/ |
H A D | login.c | 113 char pwbuf[1024]; variable 320 (void)getpwnam_r(username, &pwres, pwbuf, sizeof(pwbuf), &pwd); in main() 708 (void)getpwnam_r(tmpl_user, &pwres, pwbuf, in auth_pam() 709 sizeof(pwbuf), &pwd); in auth_pam()
|
/freebsd/usr.sbin/pw/ |
H A D | pw_user.c | 495 char pwbuf[32]; in pw_password() local 503 pwbuf[i] = chars[arc4random_uniform(sizeof(chars)-1)]; in pw_password() 504 pwbuf[i] = '\0'; in pw_password() 512 printf("%s\n", pwbuf); in pw_password() 517 strlcpy(pwbuf, user, sizeof(pwbuf)); in pw_password() 524 return pw_pwcrypt(pwbuf); in pw_password()
|
/freebsd/crypto/openssl/test/ |
H A D | sslapitest.c | 6822 char lrbuf[515], pwbuf[515] = {0}, prbuf[20]; in test_key_update_local_in_read() local 6848 if (!TEST_int_eq(SSL_write(peer, pwbuf, sizeof(pwbuf)), -1) in test_key_update_local_in_read() 6866 if (!TEST_int_eq(SSL_write(peer, pwbuf, sizeof(pwbuf)), sizeof(pwbuf)) in test_key_update_local_in_read()
|
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/ |
H A D | sanitizer_common_interceptors.inc | 2059 INTERCEPTOR(int, getpwent_r, __sanitizer_passwd *pwbuf, char *buf, 2062 COMMON_INTERCEPTOR_ENTER(ctx, getpwent_r, pwbuf, buf, buflen, pwbufp); 2066 int res = REAL(getpwent_r)(pwbuf, buf, buflen, pwbufp); 2072 INTERCEPTOR(int, getgrent_r, __sanitizer_group *pwbuf, char *buf, SIZE_T buflen, 2075 COMMON_INTERCEPTOR_ENTER(ctx, getgrent_r, pwbuf, buf, buflen, pwbufp); 2079 int res = REAL(getgrent_r)(pwbuf, buf, buflen, pwbufp); 2093 INTERCEPTOR(int, fgetpwent_r, void *fp, __sanitizer_passwd *pwbuf, char *buf, 2096 COMMON_INTERCEPTOR_ENTER(ctx, fgetpwent_r, fp, pwbuf, buf, buflen, pwbufp); 2100 int res = REAL(fgetpwent_r)(fp, pwbuf, buf, buflen, pwbufp); 2113 INTERCEPTOR(int, fgetgrent_r, void *fp, __sanitizer_group *pwbuf, char *buf, [all …]
|