Home
last modified time | relevance | path

Searched refs:getpwuid (Results 1 – 25 of 143) sorted by relevance

123456

/freebsd/usr.bin/id/
H A Did.c178 if (nflag && (pw = getpwuid(id))) in main()
210 pw = getpwuid(id); in main()
231 pw = getpwuid(rid = getuid()); in pretty()
240 if ((pw = getpwuid(eid))) in pretty()
297 if ((pw = getpwuid(euid))) in id_print()
445 if (*u && !*ep && (pw = getpwuid(id))) in who()
456 if ((pw = getpwuid(getuid())) == NULL) in pline()
/freebsd/contrib/sendmail/libsm/
H A Dmpeix.c326 #undef getpwuid
327 extern struct passwd *getpwuid __P((uid_t));
335 if ((result = getpwuid(uid)) != NULL)
/freebsd/usr.bin/chkey/
H A Dchkey.c127 pw = getpwuid(uid); in main()
139 pw = getpwuid(0); in main()
/freebsd/contrib/kyua/utils/
H A Dpasswd_test.cpp96 const struct ::passwd* pw = ::getpwuid(::getuid()); in ATF_TEST_CASE_BODY()
140 const struct ::passwd* pw = ::getpwuid(::getuid()); in ATF_TEST_CASE_BODY()
/freebsd/lib/libc/tests/nss/
H A Dgetpw_test.c353 pwd = getpwuid(pwd_model->pw_uid); in passwd_test_getpwuid()
513 ATF_TC_WITHOUT_HEAD(getpwuid);
514 ATF_TC_BODY(getpwuid, tc) in ATF_TC_BODY() argument
545 ATF_TP_ADD_TC(tp, getpwuid); in ATF_TP_ADD_TCS()
/freebsd/lib/libcompat/4.4/
H A Dcuserid.c43 if ((pwd = getpwuid(geteuid())) == NULL) { in cuserid()
/freebsd/crypto/openssh/
H A Dsftp-server-main.c45 if ((user_pw = getpwuid(getuid())) == NULL) { in main()
/freebsd/usr.bin/mail/
H A Dgetname.c46 if ((pw = getpwuid(uid)) == NULL) in getname()
/freebsd/crypto/heimdal/lib/roken/
H A Dk_getpwuid.c46 p = getpwuid (uid); in k_getpwuid()
/freebsd/libexec/ulog-helper/
H A Dulog-helper.c66 if ((pw = getpwuid(uid)) != NULL) in get_username()
/freebsd/lib/libc/posix1e/
H A Dacl_id_to_name.c68 p = getpwuid(id); in _posix1e_acl_id_to_name()
/freebsd/usr.bin/tip/tip/
H A Dlog.c57 if ((pwd = getpwuid(getuid())) == NOPWD) in logent()
/freebsd/usr.bin/at/
H A Dperm.c93 if ((pentry = getpwuid(uid)) == NULL) in check_permission()
/freebsd/usr.bin/mdo/
H A Dmdo.c54 pw = getpwuid(uid); in main()
/freebsd/usr.bin/talk/
H A Dget_names.c72 if ((pw = getpwuid(getuid())) == NULL) in get_names()
/freebsd/usr.bin/top/
H A Dusername.c127 if ((pwd = getpwuid(uid)) != NULL) in get_user()
/freebsd/usr.sbin/lpr/lprm/
H A Dlprm.c98 if ((p = getpwuid(getuid())) == NULL) in main()
/freebsd/include/
H A Dpwd.h148 struct passwd *getpwuid(uid_t);
/freebsd/crypto/openssh/regress/misc/fuzz-harness/
H A Dauthkeys_fuzz.cc34 struct passwd *pw = getpwuid(getuid()); in LLVMFuzzerTestOneInput()
/freebsd/crypto/openssh/openbsd-compat/
H A Dpwcache.c67 if ((pw = getpwuid(uid)) == NULL) { in user_from_uid()
/freebsd/contrib/nvi/ex/
H A Dex_cd.c59 if ((pw = getpwuid(getuid())) == NULL || in ex_cd()
/freebsd/usr.bin/passwd/
H A Dpasswd.c97 if ((pwd = getpwuid(uid)) == NULL) in main()
/freebsd/usr.sbin/ppp/
H A Dsystems.c143 pwd = getpwuid(ID0realuid()); in InterpretArg()
214 pwd = getpwuid(ID0realuid()); in AllowUsers()
/freebsd/contrib/netbsd-tests/usr.bin/id/
H A Dpwgr.c170 getpwuid(uid_t uid) in getpwuid() function
/freebsd/usr.bin/from/
H A Dfrom.c87 if (!(pwd = getpwuid(getuid()))) in main()

123456