/external/libbrillo/brillo/ |
D | file_utils_unittest.cc | 106 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid() + 1, getegid())); in TEST_F() 112 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid() + 1)); in TEST_F() 117 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 123 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F() 129 EXPECT_TRUE(TouchFile(file_path_, kPermissions777, geteuid(), getegid())); in TEST_F() 130 EXPECT_TRUE(TouchFile(file_path_, kPermissions700, geteuid(), getegid())); in TEST_F()
|
D | file_utils.cc | 162 return TouchFile(path, kPermissions600, geteuid(), getegid()); in TouchFile()
|
D | process_unittest.cc | 235 gid_t uid = geteuid(); in TEST_F() 249 ASSERT_NE(0, geteuid()); in TEST_F()
|
/external/ltrace/ |
D | execute_program.c | 48 if (getuid() != 0 || geteuid() != 0) { in change_uid() 68 if (options.user || !geteuid()) { in change_uid()
|
/external/chromium-trace/catapult/telemetry/build/ |
D | linux_setup_msr.py | 79 if os.geteuid() == 0: 91 if os.geteuid() != 0:
|
/external/libcap/progs/old/ |
D | sucap.c | 61 if (getuid() && !geteuid()) { in main() 149 printf("[debug] uid:%d, real uid:%d\n", geteuid(), getuid()); in main()
|
D | execcap.c | 37 if (getuid() && !geteuid()) { in main()
|
/external/curl/lib/ |
D | netrc.c | 82 if(!getpwuid_r(geteuid(), &pw, pwbuf, sizeof(pwbuf), &pw_res) in Curl_parsenetrc() 93 pw= getpwuid(geteuid()); in Curl_parsenetrc()
|
/external/toybox/toys/posix/ |
D | cpio.c | 150 if (!err && !geteuid() && !(toys.optflags & FLAG_no_preserve_owner)) in cpio_main() 176 if (!geteuid() && !(toys.optflags & FLAG_no_preserve_owner)) { in cpio_main() 191 if (!S_ISREG(mode) && !S_ISLNK(mode) && !geteuid() in cpio_main()
|
D | id.c | 90 uid_t uid = getuid(), euid = geteuid(); in do_id()
|
/external/ipsec-tools/src/racoon/ |
D | 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)
|
D | safefile.c | 56 if (getuid() != geteuid()) {
|
D | main.c | 148 if (geteuid() != 0) {
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 6 __inline int geteuid(void){return 1;} in geteuid() function
|
/external/mesa3d/src/gallium/targets/gbm/ |
D | gbm.c | 40 if (geteuid() == getuid()) in get_library_search_path()
|
/external/curl/src/ |
D | tool_homedir.c | 77 struct passwd *pw = getpwuid(geteuid()); in homedir()
|
/external/toybox/toys/pending/ |
D | logger.c | 49 struct passwd *pw = getpwuid(geteuid()); in logger_main()
|
/external/minijail/ |
D | libminijailpreload.c | 52 if (geteuid() != getuid() || getegid() != getgid()) in fake_main()
|
/external/e2fsprogs/lib/ss/ |
D | pager.c | 48 if ((getuid() != geteuid()) || (getgid() != getegid())) in ss_safe_getenv()
|
/external/valgrind/include/ |
D | pub_tool_libcproc.h | 94 extern Int VG_(geteuid) ( void );
|
/external/dbus/bus/ |
D | activation-helper.c | 194 euid = geteuid(); in check_permissions() 399 if (getuid() != geteuid()) in get_correct_parser()
|
/external/autotest/client/site_tests/platform_RootPartitionsNotMounted/ |
D | platform_RootPartitionsNotMounted.py | 91 if os.geteuid() != 0:
|
/external/toybox/toys/other/ |
D | nsenter.c | 125 int euid = geteuid(), egid = getegid(); in unshare_main()
|
/external/libchrome/base/process/ |
D | process_iterator_mac.cc | 28 static_cast<int>(geteuid()) }; in ProcessIterator()
|
/external/mesa3d/src/egl/main/ |
D | egldriver.c | 410 use_env = (geteuid() == getuid() && getegid() == getgid()); in _eglGetSearchPath() 476 if ((geteuid() != getuid() || getegid() != getgid())) { in _eglAddUserDriver()
|