Symbol: geteuid
bin/csh/csh.c
239
euid = geteuid();
bin/csh/func.c
1309
else if (limit == RLIM_INFINITY && geteuid() != 0)
bin/ksh/main.c
264
ksheuid = geteuid();
bin/pax/file_subs.c
879
if (geteuid() == 0)
bin/sh/exec.c
697
if (statb.st_uid == geteuid()) {
bin/sh/main.c
135
waspriv = privileged = (uid != geteuid()) || (gid != getegid());
bin/sh/main.c
222
if (!pflag && (uid != geteuid() || gid != getegid())) {
bin/sh/var.c
1692
euid = geteuid();
bin/sh/var.c
287
setvar("PSc", (geteuid() == 0 ? "#" : "$"), VTEXTFIXED);
bin/sh/var.c
376
uid_t u = geteuid();
bin/test/test.c
693
euid = geteuid();
bin/test/test.c
759
return s.st_uid == geteuid();
common/lib/libc/arch/arm/gen/__aeabi_idiv0.c
57
info.si_uid = geteuid();
common/lib/libc/arch/arm/gen/__aeabi_ldiv0.c
57
info.si_uid = geteuid();
crypto/dist/ipsec-tools/src/racoon/main.c
268
if (geteuid() != 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1049
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1107
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1168
if ((err == 0) || (saved_errno = errno) != EACCES || geteuid() == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1240
geteuid() == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
1309
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1355
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1597
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1652
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
1718
if (geteuid() == 0) {
crypto/dist/ipsec-tools/src/racoon/privsep.c
895
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/privsep.c
942
if (geteuid() == 0)
crypto/dist/ipsec-tools/src/racoon/safefile.c
54
if (getuid() != geteuid()) {
games/larn/main.c
239
userid = geteuid(); /* obtain the user's effective id number */
games/warp/score.c
42
if (filestat.st_gid != getegid() && geteuid() != 0) {
games/warp/util.c
163
euid = geteuid();
include/unistd.h
117
uid_t geteuid(void);
lib/libc/gen/getpwent.c
1180
if (geteuid() != 0) /* non-root can't use adjunct */
lib/libc/gen/getpwent.c
194
if (geteuid() == 0) {
lib/libc/gen/utmpx.c
252
if (geteuid() == 0) {
lib/libc/gmon/gmon.c
401
if (issetugid() && (geteuid() != getuid() || getegid() != getgid())) {
lib/libc/net/rcmd.c
701
uid = geteuid();
lib/libc/rpc/auth_unix.c
218
uid = geteuid();
lib/libc/rpc/rpcb_clnt.c
570
(void) snprintf(uidbuf, sizeof uidbuf, "%d", geteuid());
lib/libc/rpc/rpcb_clnt.c
612
(void) snprintf(uidbuf, sizeof uidbuf, "%d", geteuid());
lib/libc/sys/sigqueue.c
57
info.si_uid = geteuid();
lib/libc/time/localtime.c
418
return geteuid() != getuid() || getegid() != getgid();
lib/libcompat/4.4/cuserid.c
53
if (getpwuid_r(geteuid(), &pwres, pwbuf, sizeof(pwbuf), &pw) != 0
lib/libm/softfloat/feraiseexcept.c
60
info.si_uid = geteuid();
lib/libpam/modules/pam_krb5/pam_krb5.c
457
euid = geteuid(); /* Usually 0 */
lib/libpam/modules/pam_ksu/pam_ksu.c
226
euid = geteuid();
lib/libpuffs/puffs.c
528
if (geteuid() != 0)
libexec/ftpd/cmds.c
605
if (fe->stat->st_uid == geteuid()) {
libexec/ftpd/cmds.c
651
if (pdir->st_uid == geteuid())
libexec/ld.elf_so/rtld.c
955
_rtld_trust = ((pAUX_euid ? (uid_t)pAUX_euid->a_v : geteuid()) ==
libexec/rpc.rwalld/rwalld.c
82
if (geteuid() == 0) {
libexec/utmp_update/utmp_update.c
86
euid = geteuid();
regress/sys/kern/getcwd/getcwd.c
238
if (geteuid() != 0)
regress/sys/kern/getcwd/getcwd.c
277
if (geteuid() != 0)
regress/sys/kern/latency1/latency1.c
97
if (geteuid() != 0) {
regress/sys/kern/latency2/latency2.c
101
if (geteuid() != 0) {
regress/sys/kern/unfdpass/unfdpass.c
310
sc->sc_euid == geteuid() &&
sbin/mount_portal/pt_file.c
101
getgid(), geteuid(), getegid(), pcr->pcr_uid, pcr->pcr_gid);
sbin/mount_portal/pt_file.c
106
if ((getuid() != pcr->pcr_uid) && (geteuid() != pcr->pcr_uid)) {
sbin/mount_portal/pt_file.c
109
getuid(), pcr->pcr_uid, geteuid(), pcr->pcr_uid);
sbin/mount_qemufwcfg/fwcfg.c
233
fwcfg_uid = geteuid();
sbin/newfs/mkfs.c
1092
node.dp1.di_uid = geteuid();
sbin/newfs/mkfs.c
1114
node.dp2.di_uid = geteuid();
sbin/newfs/mkfs.c
1133
node.dp1.di_uid = geteuid();
sbin/newfs/mkfs.c
1156
node.dp2.di_uid = geteuid();
sbin/newfs/mkfs.c
1197
uid_t uid = (i == USRQUOTA ? geteuid() : getegid());
sbin/newfs/mkfs.c
1234
node.dp1.di_uid = geteuid();
sbin/newfs/mkfs.c
1256
node.dp2.di_uid = geteuid();
sbin/newfs_ext2fs/mke2fs.c
1086
node.e2di_uid = geteuid();
sbin/newfs_ext2fs/mke2fs.c
403
sblock.e2fs.e2fs_ruid = geteuid();
sbin/newfs_ext2fs/mke2fs.c
944
node.e2di_uid = geteuid();
sbin/newfs_ext2fs/mke2fs.c
991
node.e2di_uid = geteuid();
sbin/reboot/reboot.c
140
if (geteuid())
sbin/routed/main.c
245
if (geteuid() != 0) {
sbin/routed/rtquery/rtquery.c
334
if (geteuid() != 0) {
sbin/shutdown/shutdown.c
121
if (geteuid())
sys/rump/librump/rumpkern/rump_syscalls.c
502
__weak_alias(geteuid,rump___sysimpl_geteuid);
tests/dev/audio/audiotest.c
2002
if (geteuid() != 0) {
tests/dev/audio/audiotest.c
7003
if (geteuid() != 0) {
tests/kernel/t_sysv.c
312
uid_t uid = geteuid();
tests/kernel/t_sysv.c
534
uid_t uid = geteuid();
tests/kernel/t_sysv.c
715
uid_t uid = geteuid();
tests/lib/libc/gen/posix_spawn/h_spawn.c
47
if (getuid() != geteuid() || getgid() != getegid()) {
tests/lib/libc/gen/posix_spawn/h_spawn.c
50
getuid(), geteuid(), getgid(), getegid());
tests/lib/libc/sys/t_msgget.c
156
const uid_t uid = geteuid();
tests/lib/libc/sys/t_ptrace_core_wait.h
199
ATF_CHECK_EQ(procinfo.cpi_euid, geteuid());
tests/lib/libc/sys/t_ptrace_wait.h
638
euid = geteuid();
tests/lib/libc/sys/t_setuid.c
70
ATF_REQUIRE(geteuid() == uid);
tests/net/inpcb/inpcb_bind.c
442
if (geteuid() == 0)
tests/net/net/t_unix.c
236
srvruid = geteuid();
usr.bin/at/perm.c
88
uid_t uid = geteuid();
usr.bin/at/privs.c
101
effective_uid = geteuid();
usr.bin/at/privs.c
90
effective_uid = geteuid();
usr.bin/calendar/calendar.c
205
} else if ((pw = getpwuid(geteuid())) != NULL) {
usr.bin/calendar/calendar.c
624
uid = geteuid();
usr.bin/find/function.c
475
geteuid() == 0)
usr.bin/fstat/fstat.c
322
if (geteuid() == 0)
usr.bin/id/id.c
148
id = pw ? pw->pw_uid : rflag ? getuid() : geteuid();
usr.bin/id/id.c
199
if ((eid = geteuid()) != rid) {
usr.bin/id/id.c
234
if ((euid = geteuid()) != uid) {
usr.bin/login/login.c
498
saved_uid = geteuid();
usr.bin/login/login_pam.c
418
saved_uid = geteuid();
usr.bin/newsyslog/newsyslog.c
202
myeuid = geteuid();
usr.bin/skeyinfo/skeyinfo.c
57
if (geteuid())
usr.bin/skeyinit/skeyinit.c
74
if (geteuid() != 0)
usr.bin/tip/tip.c
146
euid = geteuid();
usr.bin/wall/wall.c
108
if (geteuid() == 0 || (pw && getuid() == pw->pw_uid))
usr.bin/whereis/whereis.c
69
uid_t euid = geteuid();
usr.sbin/fusermount/fusermount.c
125
if (geteuid() != 0) {
usr.sbin/isibootd/isibootd.c
159
if (geteuid() != 0)
usr.sbin/lpr/lpc/lpc.c
96
euid = geteuid();
usr.sbin/lpr/lpd/lpd.c
156
euid = geteuid(); /* these shouldn't be different */
usr.sbin/lpr/lpq/lpq.c
83
euid = geteuid();
usr.sbin/lpr/lpr/lpr.c
131
euid = geteuid();
usr.sbin/lpr/lprm/lprm.c
91
euid = geteuid();
usr.sbin/map-mbone/mapper.c
819
if (geteuid() != 0) {
usr.sbin/mrinfo/mrinfo.c
328
if (geteuid() != 0) {
usr.sbin/mrouted/main.c
114
if (geteuid() != 0) {
usr.sbin/mtrace/mtrace.c
1158
if (geteuid() != 0) {
usr.sbin/puffs/mount_psshfs/psshfs.c
231
pctx.myuid = geteuid();
usr.sbin/puffs/mount_sysctlfs/sysctlfs.c
348
fileuid = geteuid();
usr.sbin/route6d/route6d.c
331
if (geteuid()) {
usr.sbin/rpcbind/rpcbind.c
185
if (geteuid()) /* This command allowed only to root */
usr.sbin/user/user.c
329
if (geteuid() != 0) {
usr.sbin/ypserv/ypserv/ypserv.c
336
if (geteuid() != 0)