/external/ltp/testcases/kernel/syscalls/quotactl/ |
quotactl02.c | 158 test_id = geteuid();
|
quotactl01.c | 176 test_id = geteuid();
|
/external/ltp/testcases/kernel/syscalls/sched_setaffinity/ |
sched_setaffinity01.c | 97 uid = geteuid();
|
/external/ltp/testcases/kernel/syscalls/utils/ |
compat_tst_16.h | 104 UID_T GETEUID(void) 106 TST_CREATE_SYSCALL(geteuid);
|
common_j_h.c | 85 *old_uid = geteuid();
|
compat_16.h | 107 UID_T GETEUID(void (cleanup)(void)) 109 LTP_CREATE_SYSCALL(geteuid, cleanup);
|
/external/python/cpython2/Lib/test/ |
test_spwd.py | 8 @unittest.skipUnless(hasattr(os, 'geteuid') and os.geteuid() == 0,
|
/external/strace/tests/ |
xchownx.c | 37 # define GETEUID syscall(__NR_geteuid) 43 # define GETEUID geteuid() 104 unsigned int uid = GETEUID;
|
/external/strace/tests-m32/ |
xchownx.c | 37 # define GETEUID syscall(__NR_geteuid) 43 # define GETEUID geteuid() 104 unsigned int uid = GETEUID;
|
/external/strace/tests-mx32/ |
xchownx.c | 37 # define GETEUID syscall(__NR_geteuid) 43 # define GETEUID geteuid() 104 unsigned int uid = GETEUID;
|
/external/toybox/toys/other/ |
nsenter.c | 128 int euid = geteuid(), egid = getegid();
|
/external/ipsec-tools/src/racoon/ |
privsep.c | 710 if (geteuid() == 0) 791 if (geteuid() == 0) 900 if (geteuid() == 0) 954 if (geteuid() == 0) 1002 if (geteuid() == 0) 1177 if (geteuid() == 0) 1236 if (geteuid() == 0) 1303 if (geteuid() == 0)
|
main.c | 148 if (geteuid() != 0) {
|
/external/openssh/openbsd-compat/ |
port-aix.c | 246 if (pw->pw_uid == 0 || geteuid() != 0) { 310 if (geteuid() != 0)
|
/device/linaro/bootloader/edk2/StdLib/Include/ |
unistd.h | 142 uid_t geteuid(void);
|
/external/bcc/src/lua/src/ |
main.c | 155 if (geteuid() != 0) {
|
/external/e2fsprogs/lib/blkid/ |
cache.c | 40 if ((getuid() != geteuid()) || (getgid() != getegid()))
|
/external/ltp/testcases/kernel/syscalls/chown/ |
chown04.c | 107 UID16_CHECK((user_id = geteuid()), "chown", cleanup)
|
/external/ltp/testcases/kernel/syscalls/lchown/ |
lchown02.c | 117 user_id = geteuid();
|
/external/ltp/testcases/kernel/syscalls/utimensat/ |
utimensat01.c | 209 if (geteuid() == 0) {
|
/external/openssh/ |
logintest.c | 128 if ((int)geteuid() != 0) {
|
/external/toybox/toys/posix/ |
id.c | 90 uid_t uid = getuid(), euid = geteuid();
|
/external/honggfuzz/hfuzz_cc/ |
hfuzz-cc.c | 216 snprintf(path, PATH_MAX, "/tmp/%s.%d.%" PRIx64 ".a", name, geteuid(), crc64); 220 if (stat(path, &st) != -1 && st.st_size == len && st.st_uid == geteuid()) {
|
/external/ltp/testcases/kernel/sched/tool/ |
time-schedule.c | 158 if (geteuid() == 0) { 396 if (geteuid() == 0) {
|
/external/libbrillo/brillo/ |
process_unittest.cc | 278 gid_t uid = geteuid(); 292 ASSERT_NE(0, geteuid());
|