/netbsd-src/crypto/external/bsd/heimdal/dist/cf/ |
H A D | check-getpwnam_r-posix.m4 | 3 dnl check for getpwnam_r, and if it's posix or not 6 AC_FIND_FUNC_NO_LIBS(getpwnam_r,c_r) 8 AC_CACHE_CHECK(if getpwnam_r is posix,ac_cv_func_getpwnam_r_posix, 17 return getpwnam_r("", &pw, 0, 0, &pwd) < 0; 29 return getpwnam_r("", &pw, 0, 0, &pwd) < 0; 34 AC_DEFINE(POSIX_GETPWNAM_R, 1, [Define if getpwnam_r has POSIX flavour.]) 37 AC_DEFINE(_POSIX_PTHREAD_SEMANTICS, 1, [Define to get POSIX getpwnam_r in some systems.])
|
/netbsd-src/external/gpl3/gcc/dist/libphobos/libdruntime/core/sys/posix/ |
H A D | pwd.d | 218 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 223 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 228 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 234 alias __getpwnam_r50 getpwnam_r; 240 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 245 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 250 alias getpwnam_r = __posix_getpwnam_r; 262 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**); 267 int getpwnam_r(const scope char*, passwd*, char*, size_t, passwd**);
|
/netbsd-src/distrib/utils/libhack/ |
H A D | getpwent.c | 49 #define getpwnam_r _getpwnam_r macro 60 __weak_alias(getpwnam_r,__getpwnam_r50) 116 return getpwnam_r(name, &_pw_passwd, pwline, sizeof(pwline), in getpwnam() 121 getpwnam_r(const char *name, struct passwd *pwres, char *buf, size_t bufsiz, in getpwnam_r() function
|
/netbsd-src/lib/libc/compat/gen/ |
H A D | compat_getpwent.c | 55 __warn_references(getpwnam_r, 76 __weak_alias(getpwnam_r, _getpwnam_r) in __weak_alias() 111 getpwnam_r(const char *name , struct passwd50 *p, char *buf, size_t len, in getpwnam_r() function
|
/netbsd-src/lib/libpam/modules/pam_unix/ |
H A D | pam_unix.c | 95 (void) getpwnam_r(getlogin(), &pwres, pwbuf, sizeof(pwbuf), in pam_sm_authenticate() 102 (void) getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd); in pam_sm_authenticate() 161 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_acct_mgmt() 424 (void) getpwnam_r(user, &old_pwd, old_pwbuf, in pam_sm_chauthtok() 430 (void) getpwnam_r(user, &old_pwd, old_pwbuf, in pam_sm_chauthtok()
|
/netbsd-src/lib/libpam/modules/pam_group/ |
H A D | pam_group.c | 83 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate() 92 getpwnam_r(ruser, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
|
/netbsd-src/external/bsd/libbind/dist/irs/ |
H A D | getpwent_r.c | 59 getpwnam_r(const char *login, struct passwd *pwptr, 77 getpwnam_r(const char *login, struct passwd *pwptr, char *buf, int buflen) { function
|
/netbsd-src/usr.bin/su/ |
H A D | su_pam.c | 181 getpwnam_r(username, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in main() 217 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in main() 286 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in main()
|
/netbsd-src/lib/libpam/modules/pam_self/ |
H A D | pam_self.c | 73 getpwnam_r(luser, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
|
/netbsd-src/usr.bin/passwd/ |
H A D | yp_passwd.c | 296 getpwnam_r(username, &pwb2, pwbuf, sizeof(pwbuf), &pw) || in pwyp_process() 428 getpwnam_r(username, &pwb, pwbuf, sizeof(pwbuf), &pw) || in yp_chpw()
|
/netbsd-src/lib/libpam/modules/pam_rhosts/ |
H A D | pam_rhosts.c | 72 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
|
/netbsd-src/lib/libpam/modules/pam_securetty/ |
H A D | pam_securetty.c | 78 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_acct_mgmt()
|
/netbsd-src/include/ |
H A D | pwd.h | 128 int getpwnam_r(const char *, struct passwd *, char *, size_t,
|
/netbsd-src/lib/libpam/modules/pam_chroot/ |
H A D | pam_chroot.c | 69 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_open_session()
|
/netbsd-src/lib/libpam/modules/pam_nologin/ |
H A D | pam_nologin.c | 95 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
|
/netbsd-src/lib/libpam/modules/pam_ftpusers/ |
H A D | pam_ftpusers.c | 77 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_acct_mgmt()
|
/netbsd-src/lib/libpam/modules/pam_ssh/ |
H A D | pam_ssh.c | 183 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate() 432 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_open_session()
|
/netbsd-src/lib/libc/compat/include/ |
H A D | pwd.h | 59 int getpwnam_r(const char *, struct passwd50 *, char *, size_t,
|
/netbsd-src/usr.bin/login/ |
H A D | login_pam.c | 294 (void)getpwnam_r(username, &pwres, pwbuf, sizeof(pwbuf), &pwd); in main() 338 (void)getpwnam_r(username, &pwres, pwbuf, sizeof(pwbuf), in main()
|
/netbsd-src/lib/libtelnet/ |
H A D | sra.c | 449 if (getpwnam_r(usr, &pws, pwbuf, sizeof(pwbuf), &pwd) != 0 || in isroot() 481 if (getpwnam_r(name, &pws, pwbuf, sizeof(pwbuf), &pw) == 0 && in check_user()
|
/netbsd-src/external/gpl2/xcvs/dist/m4/ |
H A D | glob.m4 | 79 AC_CHECK_FUNCS_ONCE([getlogin_r getpwnam_r])dnl
|
/netbsd-src/crypto/external/bsd/heimdal/include/ |
H A D | roken.h | 161 #define rk_getpwnam_r(_n, _pw, _b, _sz, _pwd) getpwnam_r(_n, _pw, _b, _sz, _pwd)
|
/netbsd-src/external/gpl2/xcvs/dist/lib/ |
H A D | glob.c | 161 # define getpwnam_r(name, bufp, buf, len, res) \ macro 565 while (getpwnam_r (name, &pwbuf, pwtmpbuf, pwbuflen, &p) 646 while (getpwnam_r (user_name, &pwbuf, pwtmpbuf, buflen, &p) != 0)
|
/netbsd-src/external/bsd/libarchive/dist/libarchive/ |
H A D | archive_write_disk_set_standard_lookup.c | 201 r = getpwnam_r(uname, &pwent, buffer, bufsize, &result); in lookup_uid()
|
/netbsd-src/lib/libedit/ |
H A D | filecomplete.c | 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()
|