Home
last modified time | relevance | path

Searched refs:geteuid (Results 1 – 25 of 162) sorted by relevance

1234567

/openbsd/src/regress/sys/kern/pledge/generic/
Dtest_stdio.c36 geteuid(); in test_request_stdio()
52 geteuid(); in test_request_stdio()
/openbsd/src/regress/sys/kern/ptmget/
Dptmget.c56 if (sb.st_uid != geteuid()) in main()
58 sb.st_uid, geteuid()); in main()
/openbsd/src/lib/libcurses/tinfo/
Daccess.c191 (getuid() != geteuid() \
218 setfsuid(geteuid()); \
243 if ((getuid() == ROOT_UID) || (geteuid() == ROOT_UID)) { in _nc_env_access()
/openbsd/src/usr.bin/which/
Dwhich.c81 if (setuid(geteuid())) in main()
82 err(1, "Can't set uid to %u", geteuid()); in main()
/openbsd/src/usr.sbin/amd/amd/
Damd.c296 if (geteuid() != 0) { in main()
297 plog(XLOG_FATAL, "Must be root to mount filesystems (euid = %u)", geteuid()); in main()
/openbsd/src/gnu/llvm/lldb/source/Host/posix/
DHostInfoPosix.cpp130 uint32_t HostInfoPosix::GetEffectiveUserID() { return geteuid(); } in GetEffectiveUserID()
137 if (std::optional<PasswdEntry> password = GetPassword(::geteuid())) in GetDefaultShell()
/openbsd/src/usr.bin/id/
Did.c159 uid = pw ? pw->pw_uid : rflag ? getuid() : geteuid(); in main()
207 if ((eid = geteuid()) != rid) { in pretty()
240 if ((euid = geteuid()) != uid) { in current()
/openbsd/src/gnu/usr.bin/cvs/os2/
Dpwd.h52 extern int geteuid (void);
Dpwd.c125 geteuid () in geteuid() function
/openbsd/src/gnu/usr.bin/cvs/windows-NT/
Dpwd.h52 extern int geteuid (void);
Dpwd.c132 geteuid () in geteuid() function
/openbsd/src/usr.sbin/smtpd/
Dmail.mda.c32 if (! geteuid()) in main()
Dmail.mboxfile.c37 if (! geteuid()) in main()
/openbsd/src/regress/sys/kern/setuid/
Dseteuid.c36 if (geteuid() != pw->pw_uid) in main()
/openbsd/src/usr.bin/mail/
Dv7.local.c59 sb.st_uid != getuid() && sb.st_uid != geteuid()) in findmail()
/openbsd/src/regress/lib/libc/sys/
Dt_setuid.c71 ATF_REQUIRE(geteuid() == uid); in ATF_TC_BODY()
/openbsd/src/usr.sbin/lpr/lpq/
Dlpq.c76 effective_uid = geteuid(); in main()
/openbsd/src/lib/libc/gen/
Dshm_open.c72 if (sb.st_uid != geteuid()) { in shm_open()
/openbsd/src/gnu/usr.bin/texinfo/m4/
Dcheck-decl.m447 geteuid,
/openbsd/src/gnu/usr.bin/perl/ext/POSIX/t/
Dusage.t16 for my $list ([qw(errno fork getchar getegid geteuid getgid getgroups getlogin
/openbsd/src/usr.bin/ssh/
Duidswap.c54 saved_euid = geteuid(); in temporarily_use_uid()
/openbsd/src/regress/sys/kern/getpeereid/
Dgetpeereid_test.c31 myuid = geteuid(); in check_id()
/openbsd/src/usr.bin/sndiod/
Dsndiod.c382 uid = geteuid(); in getbasepath()
481 if (geteuid() == 0) { in start_helper()
746 if (geteuid() == 0) { in main()
/openbsd/src/sbin/reboot/
Dreboot.c123 if (geteuid()) in main()
/openbsd/src/usr.sbin/sasyncd/
Dsasyncd.c150 if (geteuid() != 0) { in main()

1234567