/external/libchrome/sandbox/linux/services/ |
D | namespace_utils_unittest.cc | 40 const uid_t uid = getuid(); in SANDBOX_TEST() 54 RAW_CHECK(getuid() != uid); in SANDBOX_TEST() 56 RAW_CHECK(getuid() == uid); in SANDBOX_TEST()
|
/external/libcap/progs/old/ |
D | sucap.c | 61 if (getuid() && !geteuid()) { in main() 133 if (!getuid() && setgroups(0, 0)) { 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/selinux/policycoreutils/setsebool/ |
D | setsebool.c | 109 if (getuid() == 0) { in selinux_set_boolean_list() 151 if (getuid() == 0) { in semanage_set_boolean_list() 279 pwd = getpwuid(getuid()); in setbool() 293 name, value_ptr, getuid()); in setbool()
|
/external/ipsec-tools/src/racoon/ |
D | safefile.c | 56 if (getuid() != geteuid()) { 66 me = getuid();
|
/external/selinux/libselinux/utils/ |
D | togglesebool.c | 81 struct passwd *pwd = getpwuid(getuid()); in main() 90 argv[i], getuid()); in main()
|
/external/ltrace/ |
D | execute_program.c | 48 if (getuid() != 0 || geteuid() != 0) { in change_uid() 65 run_uid = getuid(); in change_uid()
|
/external/autotest/client/tests/tracing_microbenchmark/ |
D | control | 10 sys_getuid and makes 100,000 calls to getuid with tracing on and off to measure 23 calls: Set the number of calls to make to getuid.
|
/external/selinux/policycoreutils/run_init/ |
D | run_init.c | 251 uid = getuid(); 253 uid = getuid();
|
/external/iproute2/misc/ |
D | rtacct.c | 420 if (cred.uid == getuid() || cred.uid == 0) in verify_forging() 507 sprintf(sun.sun_path+1, "rtacct%d", getuid()); in main() 539 sprintf(hist_name, "/tmp/.rtacct.u%d", getuid()); in main() 560 if (stb.st_nlink != 1 || stb.st_uid != getuid()) { in main()
|
D | nstat.c | 480 if (cred.uid == getuid() || cred.uid == 0) in verify_forging() 578 sprintf(sun.sun_path+1, "nstat%d", getuid()); in main() 612 sprintf(hist_name, "/tmp/.nstat.u%d", getuid()); in main() 638 if (stb.st_nlink != 1 || stb.st_uid != getuid()) { in main()
|
/external/toybox/toys/pending/ |
D | crontab.c | 239 fchown(fdout, getuid(), geteuid()); in update_crontab() 343 if (getuid()) error_exit("must be privileged to use -u"); in crontab_main() 345 } else pwd = xgetpwuid(getuid()); in crontab_main()
|
/external/e2fsprogs/include/nonunix/ |
D | pwd.h | 5 __inline __uid_t getuid(void){return 0;} in getuid() function
|
/external/strace/tests/ |
D | rt_sigqueueinfo.c | 50 pid, pid, getuid(), value.sival_int, value.sival_ptr); in main()
|
/external/valgrind/memcheck/tests/linux/ |
D | capget.c | 17 if (getuid() == 0) in main()
|
D | sigqueue.c | 31 si->si_uid = getuid(); in main()
|
/external/strace/test/ |
D | many_looping_threads.c | 26 getuid(); in sub_thd()
|
/external/libedit/src/ |
D | filecomplete.c | 101 if (getpwuid_r(getuid(), &pwres, pwbuf, sizeof(pwbuf), in fn_tilde_expand() 105 pass = getpwuid_r(getuid(), &pwres, pwbuf, sizeof(pwbuf)); in fn_tilde_expand() 107 pass = getpwuid(getuid()); in fn_tilde_expand()
|
/external/bison/lib/ |
D | spawni.c | 69 # define getuid __getuid macro 233 && (local_seteuid (getuid ()) != 0 in __spawni()
|
/external/autotest/cli/ |
D | change_protection_level.py | 18 user = pwd.getpwuid(os.getuid())[0]
|
/external/tlsdate/ |
D | tlsdate-seccomp-amd64.policy | 28 getuid: 1
|
/external/libchrome/sandbox/linux/suid/ |
D | process_util_linux.c | 50 if (getuid() != statbuf.st_uid) { in AdjustOOMScore()
|
/external/mesa3d/src/gallium/targets/gbm/ |
D | gbm.c | 40 if (geteuid() == getuid()) in get_library_search_path()
|
/external/selinux/policycoreutils/newrole/ |
D | newrole.c | 427 uid = getuid(); in extract_pw_data() 429 uid = getuid(); in extract_pw_data() 545 uid_t uid = getuid(); in drop_capabilities() 587 uid_t uid = getuid(); in drop_capabilities() 629 uid_t uid = getuid(); in transition_to_caller_uid()
|
/external/libdrm/tests/ |
D | setversion.c | 45 if (getuid() != 0) { in main()
|