Symbol: getpwuid
bin/getfacl/getfacl.c
73
if ((pw = getpwuid(uid)) == NULL) {
bin/rcp/rcp.c
150
if ((pwd = getpwuid(userid = getuid())) == NULL)
bin/sh/expand.c
475
if (home == NULL && (pw = getpwuid(getuid())) != NULL)
bin/sh/var.c
1696
pw = getpwuid(euid);
dist/pf/usr.sbin/authpf/authpf.c
129
pw = getpwuid(uid);
distrib/utils/libhack/getpwent.c
57
__weak_alias(getpwuid,__getpwuid50)
games/atc/log.c
197
if ((pw = (struct passwd *) getpwuid(getuid())) == NULL) {
games/battlestar/init.c
84
ptr = getpwuid(getuid());
games/canfield/cfscores/cfscores.c
81
pw = getpwuid(uid);
games/dm/dm.c
319
if (pw = getpwuid(uid = getuid()))
games/larn/main.c
99
if ((pwe = getpwuid(getuid())) != NULL)
games/phantasia/main.c
317
pw = getpwuid(getuid());
games/robots/score.c
201
if ((pp = getpwuid(scp->s_uid)) == NULL)
games/rogue/machdep.c
317
if (!(p = getpwuid(getuid())))
games/sail/lo_main.c
103
if (longfmt && (pass = getpwuid(log.l_uid)) != NULL)
games/sail/lo_main.c
145
if (longfmt && (pass = getpwuid(log.l_uid)) != NULL)
games/sail/main.c
87
pw = getpwuid(getuid());
games/snake/snake/snake.c
554
p = getpwuid(allbwho);
games/snake/snscore/snscore.c
102
p = getpwuid(uid);
games/tetris/scores.c
726
pw = getpwuid(getuid());
games/warp/intrp.c
527
struct passwd *pwd = getpwuid(uid);
include/pwd.h
122
struct passwd *getpwuid(uid_t) __RENAME(__getpwuid50);
lib/libc/compat/gen/compat_getpwent.c
51
__warn_references(getpwuid,
lib/libc/compat/gen/compat_getpwent.c
73
__weak_alias(getpwuid, _getpwuid)
lib/libc/compat/include/pwd.h
55
struct passwd50 *getpwuid(uid_t);
lib/libc/gen/glob.c
426
if ((pwd = getpwuid(getuid())) == NULL)
lib/libc/gen/pwcache.c
127
static struct passwd * (*_pwcache_getpwuid)(uid_t) = getpwuid;
lib/libc/gen/pwcache.c
619
pwcache_userdb(setpassent, test_getpwnam, getpwuid));
lib/libc/posix1e/acl_id_to_name.c
74
p = getpwuid(id);
lib/libc/posix1e/acl_to_text_nfs4.c
76
pwd = getpwuid(*id);
lib/libedit/filecomplete.c
100
pass = getpwuid(getuid());
lib/libedit/readline.c
242
if ((p = getpwuid(getuid())) == NULL)
libexec/atrun/atrun.c
188
pentry = getpwuid(uid);
libexec/ftpd/ftpd.c
1310
setusercontext(NULL, getpwuid(0), 0,
libexec/identd/identd.c
463
if ((pw = getpwuid(uid)) == NULL) {
libexec/identd/identd.c
485
getpwuid(atoi(idbuf)) != NULL) ||
libexec/mail.local/mail.local.c
118
from = (pw = getpwuid(uid)) ? pw->pw_name : "???";
libexec/tftpd/tftpd.c
263
pwent = getpwuid((uid_t)nid);
libexec/utmp_update/utmp_update.c
127
if ((pwd = getpwuid(ruid)) == NULL)
sbin/dump/dumprmt.c
118
pwd = getpwuid(getuid());
sbin/fsck_ext2fs/inode.c
647
if (Uflag && (pw = getpwuid(uid)) != 0)
sbin/fsck_ffs/inode.c
665
if (Uflag && (pw = getpwuid((int)iswap32(DIP(dp, uid)))) != 0)
sbin/fsck_lfs/inode.c
551
if (Uflag && (pw = getpwuid(lfs_dino_getuid(fs, dp))) != 0)
sbin/fsdb/fsdbutil.c
171
if ((pw = getpwuid(uid)) != NULL)
sbin/mount/mount.c
613
if ((pw = getpwuid(sfp->f_owner)) != NULL)
sbin/mount_tmpfs/mount_tmpfs.c
260
pw = getpwuid(args.ta_root_uid);
sbin/reboot/reboot.c
151
user = (pw = getpwuid(getuid())) ?
sbin/shutdown/shutdown.c
224
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
share/examples/refuse/ian/libfetch/common.c
685
if ((pwd = getpwuid(getuid())) == NULL ||
usr.bin/at/at.c
291
pass_entry = getpwuid(real_uid);
usr.bin/at/at.c
485
pw = getpwuid(buf.st_uid);
usr.bin/at/perm.c
94
if ((pentry = getpwuid(uid)) == NULL) {
usr.bin/calendar/calendar.c
205
} else if ((pw = getpwuid(geteuid())) != NULL) {
usr.bin/chpass/chpass.c
160
pw = getpwuid(uid);
usr.bin/chpass/chpass.c
193
pw = getpwuid(uid);
usr.bin/error/filter.c
81
if ((passwdentry = getpwuid(uid)) == NULL) {
usr.bin/from/from.c
97
if (!(pwd = getpwuid(getuid())))
usr.bin/ftp/main.c
485
pw = getpwuid(getuid());
usr.bin/getent/getent.c
452
pw = getpwuid((uid_t)id);
usr.bin/id/id.c
149
if (nflag && (pw = getpwuid(id)))
usr.bin/id/id.c
191
pw = getpwuid(rid = getuid());
usr.bin/id/id.c
200
if ((pw = getpwuid(eid)) != NULL)
usr.bin/id/id.c
228
if ((pw = getpwuid(uid)) != NULL)
usr.bin/id/id.c
236
if ((pw = getpwuid(euid)) != NULL)
usr.bin/id/id.c
347
if (*u && !*ep && (pw = getpwuid(id)))
usr.bin/lock/lock.c
118
if ((pw = getpwuid(getuid())) == NULL)
usr.bin/mail/getname.c
54
if ((pw = getpwuid(uid)) == NULL)
usr.bin/msgs/msgs.c
365
pw = getpwuid(uid);
usr.bin/newgrp/grutil.c
114
pwd = getpwuid(getuid());
usr.bin/newgrp/newgrp.c
76
pwd = getpwuid(uid);
usr.bin/newsyslog/newsyslog.c
914
*pw = getpwuid((uid_t)atoi(buf));
usr.bin/passwd/pam_passwd.c
80
const struct passwd *const i_pwd = getpwuid(i_uid);
usr.bin/quota/quota.c
218
struct passwd *pwd = getpwuid(uid);
usr.bin/rdist/main.c
94
pw = getpwuid(userid = getuid());
usr.bin/rdist/server.c
358
if ((pw = getpwuid(stb.st_uid)) == NULL) {
usr.bin/resize/resize.h
72
struct passwd *p = getpwuid(uid);
usr.bin/rlogin/rlogin.c
209
if (!(pw = getpwuid(uid = getuid())))
usr.bin/rsh/rsh.c
150
if (!(pw = getpwuid(uid = getuid())))
usr.bin/rwall/rwall.c
170
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
usr.bin/skeyinfo/skeyinfo.c
63
pw = getpwuid(uid);
usr.bin/skeyinit/skeyinit.c
98
if ((pp = getpwuid(getuid())) == NULL)
usr.bin/sockstat/sockstat.c
564
if ((pw = getpwuid(p->p_uid)) != NULL)
usr.bin/stat/stat.c
775
if ((pw = getpwuid(st->st_uid)) != NULL)
usr.bin/su/su.c
188
pwd = getpwuid(ruid);
usr.bin/talk/get_names.c
73
if ((pw = getpwuid(getuid())) == NULL)
usr.bin/telnet/commands.c
2250
if ((pw = getpwuid(getuid())) != NULL)
usr.bin/vacation/vacation.c
235
if (!(pw = getpwuid(getuid()))) {
usr.bin/wall/wall.c
197
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
usr.bin/who/who.c
254
pw = getpwuid(getuid());
usr.bin/write/write.c
226
if ((pwd = getpwuid(myuid)) != NULL)
usr.sbin/lastlogin/lastlogin.c
254
if ((passwd = getpwuid(i)) == NULL) {
usr.sbin/lastlogin/lastlogin.c
369
if ((passwd = getpwuid(uid)) == NULL) {
usr.sbin/ldpd/ldp_command.c
120
if ((p = getpwuid(0)) == NULL)
usr.sbin/lpr/lpd/printjob.c
1218
pw = getpwuid(DU);
usr.sbin/lpr/lpr/lpr.c
272
if ((pw = getpwuid(userid)) == NULL)
usr.sbin/lpr/lprm/lprm.c
97
if ((p = getpwuid(getuid())) == NULL)
usr.sbin/mountd/mountd.c
2085
pw = getpwuid(atoi(username));
usr.sbin/mtree/create.c
113
user = (pw = getpwuid(getuid())) != NULL ? pw->pw_name :
usr.sbin/mtree/specspec.c
82
pw = getpwuid(n->st_uid);
usr.sbin/puffs/mount_9p/nineproto.c
88
pw = getpwuid(uid);
usr.sbin/puffs/mount_9p/ninepuffs.c
267
pw = getpwuid(getuid());
usr.sbin/quot/quot.c
263
if (!(pwd = getpwuid(uid)))
usr.sbin/repquota/repquota.c
520
pw = getpwuid(id);
usr.sbin/rpc.pcnfsd/pcnfsd_v2.c
351
p_passwd = getpwuid((uid_t) a->id);
usr.sbin/user/user.c
1150
if (!(up->u_flags & F_DUPUID) && getpwuid((uid_t)(up->u_uid)) != NULL) {
usr.sbin/user/user.c
1566
getpwuid((uid_t)(up->u_uid)) != NULL) {
usr.sbin/user/user.c
1766
if (is_number(name) && (pwp = getpwuid((uid_t)atoi(name))) != NULL) {
usr.sbin/user/user.c
914
if (getpwuid((uid_t)(*uid)) == NULL && *uid != NOBODY_UID) {