/external/openssh/ |
D | platform.c | 93 return (getuid() == 0 || geteuid() == 0); in platform_privileged_uidswap() 111 if (getuid() == 0 || geteuid() == 0) in platform_setusercontext() 116 if (getuid() == 0 || geteuid() == 0) in platform_setusercontext() 125 if (getuid() == 0 || geteuid() == 0) { in platform_setusercontext() 133 if (getuid() == 0 || geteuid() == 0) { in platform_setusercontext()
|
D | uidswap.c | 70 saved_euid = geteuid(); in temporarily_use_uid() 82 if (geteuid() != 0) { in temporarily_use_uid() 129 if (setuid(geteuid()) < 0) in temporarily_use_uid() 130 debug("setuid %u: %.100s", (u_int) geteuid(), strerror(errno)); in temporarily_use_uid() 159 if (getuid() != uid || geteuid() != uid) { in permanently_drop_suid() 161 __func__, (u_int)getuid(), (u_int)geteuid(), (u_int)uid); in permanently_drop_suid() 282 if (getuid() != pw->pw_uid || geteuid() != pw->pw_uid) { in permanently_set_uid() 284 __func__, (u_int)getuid(), (u_int)geteuid(), in permanently_set_uid()
|
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 | audit-linux.c | 65 if ((rc == -EPERM) && (geteuid() != 0)) in linux_audit_record_event()
|
D | logintest.c | 128 if ((int)geteuid() != 0) { in testAPI()
|
/external/ltrace/ |
D | execute_program.c | 48 if (getuid() != 0 || geteuid() != 0) { in change_uid() 68 if (options.user || !geteuid()) { in change_uid()
|
/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/openssh/openbsd-compat/ |
D | bsd-getpeereid.c | 66 *euid = geteuid(); in getpeereid()
|
D | port-aix.c | 246 if (pw->pw_uid == 0 || geteuid() != 0) { in sys_auth_allowed_user() 310 if (geteuid() != 0) in record_failed_login()
|
/external/mesa3d/src/gallium/targets/gbm/ |
D | gbm.c | 40 if (geteuid() == getuid()) in get_library_search_path()
|
/external/toybox/toys/pending/ |
D | logger.c | 49 struct passwd *pw = getpwuid(geteuid()); in logger_main()
|
/external/valgrind/include/ |
D | pub_tool_libcproc.h | 81 extern Int VG_(geteuid) ( void );
|
/external/e2fsprogs/lib/ss/ |
D | pager.c | 48 if ((getuid() != geteuid()) || (getgid() != getegid())) in ss_safe_getenv()
|
/external/libdrm/tests/ |
D | gem_flink.c | 120 if (geteuid()) { in main()
|
/external/toybox/toys/other/ |
D | nsenter.c | 119 int euid = geteuid(), egid = getegid(); in unshare_main()
|
D | login.c | 154 if (geteuid()) error_exit("not root"); in login_main()
|
/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()
|
/external/mesa3d/src/gallium/state_trackers/d3d1x/dxgi/src/ |
D | dxgi_loader.cpp | 52 if (p && (geteuid() != getuid() || getegid() != getgid())) { in get_search_path()
|
/external/toybox/toys/posix/ |
D | id.c | 89 uid_t uid = getuid(), euid = geteuid(); in do_id()
|
/external/e2fsprogs/lib/blkid/ |
D | cache.c | 42 if ((getuid() != geteuid()) || (getgid() != getegid())) in safe_getenv()
|
/external/valgrind/coregrind/ |
D | m_commandline.c | 73 if (!res && stat_buf.uid == VG_(geteuid)() in read_dot_valgrindrc()
|
/external/toybox/ |
D | main.c | 103 uid_t uid = getuid(), euid = geteuid(); in toy_init()
|