/external/ipsec-tools/src/racoon/ |
D | safefile.c | 56 if (getuid() != geteuid()) { 66 me = getuid();
|
/external/openssl/crypto/ |
D | uid.c | 82 if (getuid() != geteuid()) return 1; in OPENSSL_issetugid()
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 5 __inline __uid_t getuid(void){return 0;} in getuid() function
|
/external/openssl/crypto/rand/ |
D | rand_unix.c | 162 curr_uid = getuid(); in RAND_poll() 361 l=getuid(); in RAND_poll()
|
/external/dropbear/ |
D | svr-agentfwd.c | 151 uid = getuid(); in agentcleanup() 214 uid = getuid(); in bindagent()
|
/external/iproute2/misc/ |
D | rtacct.c | 421 if (cred.uid == getuid() || cred.uid == 0) in verify_forging() 508 sprintf(sun.sun_path+1, "rtacct%d", getuid()); in main() 540 sprintf(hist_name, "/tmp/.rtacct.u%d", getuid()); in main() 561 if (stb.st_nlink != 1 || stb.st_uid != getuid()) { in main()
|
D | nstat.c | 430 if (cred.uid == getuid() || cred.uid == 0) in verify_forging() 497 sprintf(sun.sun_path+1, "nstat%d", getuid()); in main() 531 sprintf(hist_name, "/tmp/.nstat.u%d", getuid()); in main() 557 if (stb.st_nlink != 1 || stb.st_uid != getuid()) { in main()
|
D | ifstat.c | 545 if (cred.uid == getuid() || cred.uid == 0) in verify_forging() 647 sprintf(sun.sun_path+1, "ifstat%d", getuid()); in main() 682 sprintf(hist_name, "%s/.ifstat.u%d", P_tmpdir, getuid()); in main() 707 if (stb.st_nlink != 1 || stb.st_uid != getuid()) { in main()
|
/external/valgrind/main/memcheck/tests/linux/ |
D | sigqueue.c | 31 si->si_uid = getuid(); in main()
|
/external/tcpdump/ |
D | tcpdump.c | 818 if (getuid() == 0 || geteuid() == 0) { in main() 827 if (getuid() == 0 || geteuid() == 0) { in main() 848 if (setgid(getgid()) != 0 || setuid(getuid()) != 0 ) in main() 897 if (setgid(getgid()) != 0 || setuid(getuid()) != 0) in main() 1004 if (getuid() == 0 || geteuid() == 0) { in main()
|
/external/ppp/pppd/plugins/ |
D | passprompt.c | 57 seteuid(getuid()); in promptpass()
|
/external/e2fsprogs/lib/ss/ |
D | pager.c | 46 if ((getuid() != geteuid()) || (getgid() != getegid())) in ss_safe_getenv()
|
/external/dbus/tools/ |
D | dbus-launch-x11.c | 76 struct passwd *user = getpwuid (getuid()); in get_homedir() 248 user = getpwuid (getuid ()); in init_x_atoms()
|
/external/bluetooth/bluez/tools/ |
D | parser.y | 158 if ((getuid() == 0) || (access(file, R_OK) < 0)) in rfcomm_read_config()
|
/external/dbus/bus/ |
D | activation-helper.c | 203 uid = getuid(); in check_permissions() 414 if (getuid() != geteuid()) in get_correct_parser()
|
/external/chromium/chrome/browser/ |
D | browser_main_gtk.cc | 126 if (stat("/proc/self/exe", &st) == 0 && st.st_uid == getuid()) in SetupSandbox()
|
D | process_info_snapshot_mac_unittest.cc | 61 uid_t uid = getuid(); in TEST_F()
|
/external/bluetooth/glib/glib/ |
D | gutils.c | 1631 if (!pw || (pw->pw_uid != getuid ())) { in g_get_any_init_do() 1633 error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw); in g_get_any_init_do() 1636 error = getpwuid_r (getuid (), &pwd, buffer, bufsize, &pw); in g_get_any_init_do() 1642 error = getpwuid_r (getuid (), &pwd, buffer, bufsize); in g_get_any_init_do() 1647 if (!pw || (pw->pw_uid != getuid ())) { in g_get_any_init_do() 1649 pw = getpwuid_r (getuid (), &pwd, buffer, bufsize); in g_get_any_init_do() 1652 pw = getpwuid_r (getuid (), &pwd, buffer, bufsize); in g_get_any_init_do() 1668 (gulong) getuid ()); in g_get_any_init_do() 1688 pw = getpwuid (getuid ()); in g_get_any_init_do()
|
/external/oprofile/libpopt/ |
D | popt.c | 428 rc = setresuid(getuid(), getuid(),-1); in execCommand() 439 rc = setuid(getuid()); in execCommand() 444 rc = setreuid(getuid(), getuid()); in execCommand()
|
/external/e2fsprogs/lib/blkid/ |
D | cache.c | 39 if ((getuid() != geteuid()) || (getgid() != getegid())) in safe_getenv()
|
/external/chromium/third_party/libevent/ |
D | evutil.c | 259 if (getuid() != geteuid()) in evutil_issetugid()
|
/external/oprofile/opjitconv/ |
D | opjitconv.c | 229 if (fchown(fd, getuid(), getgid()) != 0) { in copy_elffile() 388 if (seteuid(getuid()) != 0) { in process_jit_dumpfile()
|
/external/e2fsprogs/intl/ |
D | dcigettext.c | 398 # define getuid() 0 404 # define geteuid() getuid() 414 if (getuid () != geteuid () || getgid () != getegid ()) \
|
/external/strace/ |
D | strace.c | 325 if (getuid() != 0 || geteuid() != 0) { 340 run_uid = getuid(); 345 setreuid(geteuid(), getuid()); 395 setreuid(geteuid(), getuid()); 701 setreuid(geteuid(), getuid()); 705 setreuid(geteuid(), getuid());
|
/external/ipsec-tools/src/libipsec/ |
D | test-policy.c | 234 if (getuid() != 0) in test2()
|