Home
last modified time | relevance | path

Searched refs:getpwnam_r (Results 1 – 25 of 121) sorted by relevance

12345

/netbsd-src/crypto/external/bsd/heimdal/dist/cf/
H A Dcheck-getpwnam_r-posix.m43 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 Dpwd.d218 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 Dgetpwent.c49 #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 Dcompat_getpwent.c55 __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 Dpam_unix.c95 (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 Dpam_group.c83 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 Dgetpwent_r.c59 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 Dsu_pam.c181 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 Dpam_self.c73 getpwnam_r(luser, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
/netbsd-src/usr.bin/passwd/
H A Dyp_passwd.c296 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 Dpam_rhosts.c72 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
/netbsd-src/lib/libpam/modules/pam_securetty/
H A Dpam_securetty.c78 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_acct_mgmt()
/netbsd-src/include/
H A Dpwd.h128 int getpwnam_r(const char *, struct passwd *, char *, size_t,
/netbsd-src/lib/libpam/modules/pam_chroot/
H A Dpam_chroot.c69 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_open_session()
/netbsd-src/lib/libpam/modules/pam_nologin/
H A Dpam_nologin.c95 if (getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_authenticate()
/netbsd-src/lib/libpam/modules/pam_ftpusers/
H A Dpam_ftpusers.c77 getpwnam_r(user, &pwres, pwbuf, sizeof(pwbuf), &pwd) != 0 || in pam_sm_acct_mgmt()
/netbsd-src/lib/libpam/modules/pam_ssh/
H A Dpam_ssh.c183 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 Dpwd.h59 int getpwnam_r(const char *, struct passwd50 *, char *, size_t,
/netbsd-src/usr.bin/login/
H A Dlogin_pam.c294 (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 Dsra.c449 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 Dglob.m479 AC_CHECK_FUNCS_ONCE([getlogin_r getpwnam_r])dnl
/netbsd-src/crypto/external/bsd/heimdal/include/
H A Droken.h161 #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 Dglob.c161 # 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 Darchive_write_disk_set_standard_lookup.c201 r = getpwnam_r(uname, &pwent, buffer, bufsize, &result); in lookup_uid()
/netbsd-src/lib/libedit/
H A Dfilecomplete.c104 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()

12345