/external/openssh/ |
D | platform.c | 84 return (getuid() == 0 || geteuid() == 0); in platform_privileged_uidswap() 102 if (getuid() == 0 || geteuid() == 0) in platform_setusercontext() 107 if (getuid() == 0 || geteuid() == 0) in platform_setusercontext() 116 if (getuid() == 0 || geteuid() == 0) { in platform_setusercontext() 124 if (getuid() == 0 || geteuid() == 0) { in platform_setusercontext()
|
D | audit.c | 128 (int)geteuid()); in audit_connection_from() 138 debug("audit event euid %d user %s event %d (%s)", geteuid(), in audit_event() 154 debug("audit session open euid %d user %s tty name %s", geteuid(), in audit_session_open() 170 debug("audit session close euid %d user %s tty name %s", geteuid(), in audit_session_close() 182 debug("audit run command euid %d user %s command '%.200s'", geteuid(), in audit_run_command()
|
D | uidswap.c | 69 saved_euid = geteuid(); in temporarily_use_uid() 81 if (geteuid() != 0) { in temporarily_use_uid() 130 if (setuid(geteuid()) < 0) in temporarily_use_uid() 131 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid() 170 if (getuid() != uid || geteuid() != uid) { in permanently_drop_suid() 172 __func__, (u_int)getuid(), (u_int)geteuid(), (u_int)uid); in permanently_drop_suid() 314 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) { in permanently_set_uid() 316 __func__, (u_int)getuid(), (u_int)geteuid(), in permanently_set_uid()
|
D | audit-linux.c | 65 if ((rc == -EPERM) && (geteuid() != 0)) in linux_audit_record_event()
|
/external/chromium_org/chrome/test/pyautolib/ |
D | chromoting_helper.py | 37 assert os.geteuid() == 0, 'Need superuser privileges' 112 assert os.geteuid() == 0, 'Need superuser privileges' 121 assert os.geteuid() == 0, 'Need superuser privileges'
|
D | policy_posix_util.py | 14 assert os.geteuid() == 0, 'Need superuser privileges'
|
/external/chromium_org/third_party/openssl/openssl/crypto/ |
D | uid.c | 82 if (getuid() != geteuid()) return 1; in OPENSSL_issetugid()
|
/external/openssl/crypto/ |
D | uid.c | 82 if (getuid() != geteuid()) return 1; in OPENSSL_issetugid()
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 6 __inline int geteuid(void){return 1;} in geteuid() function
|
/external/chromium_org/chrome/browser/ |
D | process_info_snapshot_mac_unittest.cc | 64 uid_t euid = geteuid(); in TEST_F() 136 EXPECT_EQ(proc_info.uid, geteuid()); in TEST_F()
|
/external/chromium/chrome/browser/ |
D | process_info_snapshot_mac_unittest.cc | 62 uid_t euid = geteuid(); in TEST_F() 132 EXPECT_EQ(proc_info.uid, geteuid()); in TEST_F()
|
/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()) {
|
/external/chromium_org/chrome/test/functional/ |
D | crash_reporter.py | 39 if self.IsChromeOS() and os.geteuid() == 0:
|
D | netflix.py | 159 assert os.geteuid() == 0, 'Run test as root since we might need to logout' 227 assert os.geteuid() == 0, 'Run test as root since we might need to logout'
|
/external/chromium/chrome/browser/policy/ |
D | policy_path_parser_posix.cc | 26 struct passwd* user = getpwuid(geteuid()); in ExpandPathVariables()
|
/external/chromium_org/chrome/test/pyautolib/chromeos/ |
D | enable_testing.py | 43 assert os.geteuid() == 0, 'Needs superuser privileges.'
|
/external/openssh/openbsd-compat/ |
D | bsd-getpeereid.c | 66 *euid = geteuid(); in getpeereid()
|
/external/mesa3d/src/gallium/targets/gbm/ |
D | gbm.c | 40 if (geteuid() == getuid()) in get_library_search_path()
|
/external/chromium_org/third_party/mesa/src/src/gallium/targets/gbm/ |
D | gbm.c | 40 if (geteuid() == getuid()) in get_library_search_path()
|
/external/chromium_org/chrome/browser/policy/ |
D | policy_path_parser_linux.cc | 37 struct passwd* user = getpwuid(geteuid()); in ExpandPathVariables()
|
/external/chromium_org/chrome/browser/ui/gtk/ |
D | chrome_browser_main_extra_parts_gtk.cc | 27 if (geteuid() == 0) { in DetectRunningAsRoot()
|
/external/valgrind/main/include/ |
D | pub_tool_libcproc.h | 77 extern Int VG_(geteuid) ( void );
|
/external/chromium_org/tools/python/google/ |
D | platform_utils_mac.py | 95 "user": os.environ.get("USER", "#%d" % os.geteuid()),
|
D | platform_utils_linux.py | 97 "user": os.environ.get("USER", "#%d" % os.geteuid()),
|