Searched refs:pwbuf (Results 1 - 14 of 14) sorted by relevance

/freebsd-11-stable/contrib/apr/user/unix/
H A Duserinfo.c37 char pwbuf[PWBUF_SIZE])
48 rv = getpwnam_r(username, pw, pwbuf, PWBUF_SIZE, &pwptr);
74 char pwbuf[PWBUF_SIZE]; local
77 if ((rv = getpwnam_safe(username, &pw, pwbuf)) != APR_SUCCESS)
108 char pwbuf[PWBUF_SIZE]; local
111 if ((rv = getpwnam_safe(username, &pw, pwbuf)) != APR_SUCCESS)
126 char pwbuf[PWBUF_SIZE]; local
129 rv = getpwuid_r(userid, &pwd, pwbuf, sizeof(pwbuf), &pw);
35 getpwnam_safe(const char *username, struct passwd *pw, char pwbuf[PWBUF_SIZE]) argument
/freebsd-11-stable/crypto/heimdal/lib/gssapi/krb5/
H A Dpname_to_uid.c50 char pwbuf[2048];
68 if (getpwnam_r(localname, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0) {
/freebsd-11-stable/crypto/heimdal/kadmin/
H A Dcpw.c85 char pwbuf[128]; local
94 ret = UI_UTIL_read_pw_string(pwbuf, sizeof(pwbuf), prompt, 1);
99 password = pwbuf;
103 memset(pwbuf, 0, sizeof(pwbuf));
H A Dank.c84 char pwbuf[1024]; local
119 random_password (pwbuf, sizeof(pwbuf));
120 password = pwbuf;
122 random_password (pwbuf, sizeof(pwbuf));
123 password = pwbuf;
131 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), prompt, 1);
138 password = pwbuf;
[all...]
H A Dinit.c53 char pwbuf[512]; local
55 random_password(pwbuf, sizeof(pwbuf));
56 password = pwbuf;
/freebsd-11-stable/crypto/heimdal/lib/gssapi/mech/
H A Dgss_pname_to_uid.c79 char pwbuf[2048];
110 if (getpwnam_r(localname, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
/freebsd-11-stable/usr.sbin/rpc.yppasswdd/
H A Dyppasswdd_server.c324 char *pwbuf; local
333 pwbuf = NULL;
395 free(pwbuf);
396 asprintf(&pwbuf, ":%d:%d:", pw->pw_uid, pw->pw_gid);
397 if (pwbuf == NULL) {
401 if (!strstr(data.data, pwbuf)) {
411 free(pwbuf);
412 asprintf(&pwbuf, formats[i],
418 free(pwbuf);
419 asprintf(&pwbuf, format
[all...]
/freebsd-11-stable/contrib/apr/passwd/
H A Dapr_getpass.c232 APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf, apr_size_t *bufsiz)
236 if (getpass_r(prompt, pwbuf, *bufsiz) == NULL)
252 apr_cpystrn(pwbuf, pw_got, *bufsiz);
/freebsd-11-stable/contrib/apr/include/
H A Dapr_lib.h181 * @param pwbuf Buffer to store the password
189 APR_DECLARE(apr_status_t) apr_password_get(const char *prompt, char *pwbuf,
/freebsd-11-stable/crypto/heimdal/kpasswd/
H A Dkpasswd.c65 char pwbuf[BUFSIZ]; local
85 ret = UI_UTIL_read_pw_string (pwbuf, sizeof(pwbuf), msg, 1);
93 ret = krb5_set_password_using_ccache (context, id, pwbuf,
/freebsd-11-stable/crypto/heimdal/lib/krb5/
H A Dkuserok.c252 char pwbuf[2048]; local
255 if(getpwnam_r(luser, &pw, pwbuf, sizeof(pwbuf), &pwd) != 0)
/freebsd-11-stable/usr.sbin/pw/
H A Dpw_user.c517 char pwbuf[32]; local
525 pwbuf[i] = chars[arc4random_uniform(sizeof(chars)-1)];
526 pwbuf[i] = '\0';
534 printf("%s\n", pwbuf);
539 strlcpy(pwbuf, user, sizeof(pwbuf));
546 return pw_pwcrypt(pwbuf);
/freebsd-11-stable/lib/libedit/
H A Dreadline.c1737 char pwbuf[1024]; local
1752 getpwent_r(&pwres, pwbuf, sizeof(pwbuf), &pass) == 0 && pass != NULL
/freebsd-11-stable/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_common_interceptors.inc2051 INTERCEPTOR(int, getpwent_r, __sanitizer_passwd *pwbuf, char *buf,
2054 COMMON_INTERCEPTOR_ENTER(ctx, getpwent_r, pwbuf, buf, buflen, pwbufp);
2058 int res = REAL(getpwent_r)(pwbuf, buf, buflen, pwbufp);
2064 INTERCEPTOR(int, getgrent_r, __sanitizer_group *pwbuf, char *buf, SIZE_T buflen,
2067 COMMON_INTERCEPTOR_ENTER(ctx, getgrent_r, pwbuf, buf, buflen, pwbufp);
2071 int res = REAL(getgrent_r)(pwbuf, buf, buflen, pwbufp);
2085 INTERCEPTOR(int, fgetpwent_r, void *fp, __sanitizer_passwd *pwbuf, char *buf,
2088 COMMON_INTERCEPTOR_ENTER(ctx, fgetpwent_r, fp, pwbuf, buf, buflen, pwbufp);
2092 int res = REAL(fgetpwent_r)(fp, pwbuf, buf, buflen, pwbufp);
2105 INTERCEPTOR(int, fgetgrent_r, void *fp, __sanitizer_group *pwbuf, cha
[all...]

Completed in 191 milliseconds