Symbol: getpwuid
bin/sh/parser.c
2008
pw = getpwuid(euid);
crypto/openssh/loginrec.c
315
pw = getpwuid(uid);
crypto/openssh/misc.c
1218
} else if ((pw = getpwuid(uid)) == NULL) {
crypto/openssh/misc.c
2752
if (pw == NULL && (pw = getpwuid(getuid())) == NULL) {
crypto/openssh/scp.c
651
if ((pwd = getpwuid(userid = getuid())) == NULL)
crypto/openssh/sftp-server-main.c
45
if ((user_pw = getpwuid(getuid())) == NULL) {
crypto/openssh/sftp-server.c
1746
user_pw = getpwuid((uid_t)n);
crypto/openssh/ssh-add.c
1022
if ((pw = getpwuid(getuid())) == NULL) {
crypto/openssh/ssh-keygen.c
3382
pw = getpwuid(getuid());
crypto/openssh/ssh-keysign.c
211
if ((pw = getpwuid(getuid())) == NULL)
crypto/openssh/ssh.c
710
pw = getpwuid(getuid());
games/atc/log.c
165
if ((pw = (struct passwd *) getpwuid(getuid())) == NULL) {
games/battlestar/init.c
76
ptr = getpwuid(getuid());
games/canfield/cfscores/cfscores.c
77
pw = getpwuid(uid);
games/larn/main.c
83
if ((pwe = getpwuid(getuid())) != NULL)
games/phantasia/main.c
310
Login = getpwuid(getuid())->pw_name;
games/robots/score.c
143
if ((pp = getpwuid(scp->s_uid)) == NULL)
games/rogue/machdep.c
385
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
539
p = getpwuid(allbwho);
games/snake/snscore/snscore.c
89
p = getpwuid(uid);
include/pwd.h
149
struct passwd *getpwuid(uid_t);
lib/libc/gen/glob.c
430
(pwd = getpwuid(getuid())) != NULL)
lib/libc/gen/pwcache.c
124
static struct passwd * (*_pwcache_getpwuid)(uid_t) = getpwuid;
lib/libc/gen/pwcache.c
616
pwcache_userdb(setpassent, test_getpwnam, getpwuid));
lib/libc/rpc/netnamer.c
137
pwd = getpwuid(uid);
lib/libcompat/4.4/cuserid.c
43
if ((pwd = getpwuid(geteuid())) == NULL) {
lib/libfetch/common.c
1672
if ((pwd = getpwuid(getuid())) == NULL ||
lib/libipfw3/layer4/ipfw3_layer4.c
172
struct passwd *pwd = getpwuid(cmd32->d[0]);
lib/libipfw3/layer4/ipfw3_layer4.c
85
pwd = (*end == '\0') ? getpwuid(uid) : getpwnam(**av);
lib/libposix1e/acl_support.c
248
p = getpwuid(id);
lib/libssh/openbsd-compat/glob.c
398
if ((pwd = getpwuid(getuid())) == NULL)
libexec/atrun/atrun.c
161
pentry = getpwuid(uid);
libexec/dma/util.c
235
pwd = getpwuid(useruid);
libexec/ftpd/ftpd.c
1150
setusercontext(NULL, getpwuid(0), 0,
libexec/utmp_update/utmp_update.c
117
if ((pwd = getpwuid(ruid)) == NULL)
sbin/devfsctl/devfsctl.c
402
pwd = getpwuid(rule->uid);
sbin/dump/dumprmt.c
138
pwd = getpwuid(getuid());
sbin/fsck/inode.c
519
if ((pw = getpwuid((int)dp->di_uid)) != NULL)
sbin/fsdb/fsdbutil.c
138
if ((pw = getpwuid(dp->di_uid)))
sbin/ipfw/ipfw2.c
1194
struct passwd *pwd = getpwuid(cmd32->d[0]);
sbin/ipfw/ipfw2.c
3192
pwd = (*end == '\0') ? getpwuid(uid) : getpwnam(*av);
sbin/mount/mount.c
528
if ((pw = getpwuid(sfp->f_owner)) != NULL)
sbin/mount_ufs/mount.c
485
if ((pw = getpwuid(sfp->f_owner)) != NULL)
sbin/mountd/mountd.c
2318
pw = getpwuid(atoi(name));
sbin/reboot/reboot.c
112
user = (pw = getpwuid(getuid())) ?
sbin/shutdown/shutdown.c
220
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
sbin/svc/svc.c
127
pwent = getpwuid(strtol(optarg, NULL, 0));
sbin/vquota/vquota.c
332
if (flag_resolve_ids && ((pw = getpwuid(uid)) != NULL)) {
usr.bin/at/at.c
324
pass_entry = getpwuid(real_uid);
usr.bin/at/at.c
516
pw = getpwuid(buf.st_uid);
usr.bin/at/perm.c
95
if ((pentry = getpwuid(uid)) == NULL)
usr.bin/calendar/io.c
707
struct passwd *pw = getpwuid(uid);
usr.bin/chkey/chkey.c
130
pw = getpwuid(uid);
usr.bin/chkey/chkey.c
142
pw = getpwuid(0);
usr.bin/chpass/chpass.c
131
if ((pw = getpwuid(uid)) == NULL)
usr.bin/from/from.c
88
if (!(pwd = getpwuid(getuid())))
usr.bin/getent/getent.c
390
pw = getpwuid((uid_t)id);
usr.bin/id/id.c
136
if (nflag && (pw = getpwuid(id)))
usr.bin/id/id.c
180
pw = getpwuid(rid = getuid());
usr.bin/id/id.c
189
if ((pw = getpwuid(eid)))
usr.bin/id/id.c
216
if ((pw = getpwuid(id)))
usr.bin/id/id.c
220
if ((pw = getpwuid(eid)))
usr.bin/id/id.c
323
if (*u && !*ep && (pw = getpwuid(id)))
usr.bin/id/id.c
335
if ((pw = getpwuid(rid = getuid())) == NULL)
usr.bin/killall/killall.c
289
pw = getpwuid(uid);
usr.bin/limits/limits.c
305
(pwd = getpwuid(atoi(optarg))) == NULL) {
usr.bin/lock/lock.c
106
if (!(pw = getpwuid(getuid())))
usr.bin/mail/getname.c
48
if ((pw = getpwuid(uid)) == NULL)
usr.bin/msgs/msgs.c
348
ptr = getpwuid(uid)->pw_name;
usr.bin/newgrp/newgrp.c
81
if ((pwd = getpwuid(getuid())) == NULL)
usr.bin/passwd/passwd.c
97
if ((pwd = getpwuid(uid)) == NULL)
usr.bin/quota/quota.c
183
struct passwd *pwd = getpwuid(uid);
usr.bin/rwall/rwall.c
145
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
usr.bin/sockstat/sockstat.c
495
if ((pwd = getpwuid(xf->f_uid)) != NULL)
usr.bin/stat/stat.c
727
if ((pw = getpwuid(st->st_uid)) != NULL)
usr.bin/su/su.c
250
pwd = getpwuid(ruid);
usr.bin/talk/get_names.c
68
if ((pw = getpwuid(getuid())) == NULL)
usr.bin/telnet/commands.c
2407
if ((pw = getpwuid(getuid())))
usr.bin/tip/log.c
56
if ((pwd = getpwuid(getuid())) == NULL)
usr.bin/top/username.c
115
if ((pw = getpwuid(uid)) != NULL)
usr.bin/wall/wall.c
190
whom = (pw = getpwuid(getuid())) ? pw->pw_name : "???";
usr.bin/who/who.c
255
pw = getpwuid(getuid());
usr.bin/write/write.c
233
if ((pwd = getpwuid(myuid)))
usr.sbin/authpf/authpf.c
133
pw = getpwuid(uid);
usr.sbin/cron/cron/do_command.c
257
pwd = getpwuid(e->uid);
usr.sbin/cron/cron/popen.c
152
pwd = getpwuid(e->uid);
usr.sbin/cron/crontab/crontab.c
129
if (!(pw = getpwuid(getuid())))
usr.sbin/inetd/builtins.c
559
pw = getpwuid(uc.cr_uid);
usr.sbin/inetd/builtins.c
639
getpwuid(atoi(p)) != NULL)
usr.sbin/lpr/lpd/printjob.c
1500
pwd = getpwuid(pp->daemon_user);
usr.sbin/lpr/lpr/lpr.c
288
if ((pw = getpwuid(userid)) == NULL)
usr.sbin/lpr/lprm/lprm.c
97
if ((p = getpwuid(getuid())) == NULL)
usr.sbin/mtree/create.c
102
user = (pw = getpwuid(getuid())) != NULL ? pw->pw_name :
usr.sbin/mtree/specspec.c
75
pw = getpwuid(n->st_uid);
usr.sbin/nscd/agents/passwd.c
173
result = getpwuid(uid);
usr.sbin/ppp/systems.c
154
pwd = getpwuid(ID0realuid());
usr.sbin/ppp/systems.c
236
pwd = getpwuid(ID0realuid());
usr.sbin/pw/pw.c
60
getpwuid,
usr.sbin/pw/pw_group.c
301
(pwd = getpwuid((uid_t) atoi(user))) == NULL))
usr.sbin/pw/pw_user.c
425
if (getpwuid(uid) == NULL)
usr.sbin/pw/pw_user.c
431
if (getarg(args, 'r') != NULL && *home == '/' && getpwuid(uid) == NULL) {
usr.sbin/quot/quot.c
248
if (!(pwd = getpwuid(uid))) {