/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/sigqueue/ |
9-1.c | 43 if (getuid())
|
/external/ppp/pppd/plugins/ |
passprompt.c | 57 seteuid(getuid());
|
/external/selinux/policycoreutils/setsebool/ |
setsebool.c | 104 if (getuid() == 0) { 147 if (getuid() == 0) { 276 pwd = getpwuid(getuid()); 290 name, value_ptr, getuid());
|
/external/strace/tests/ |
rt_tgsigqueueinfo.c | 67 info->si_uid = getuid();
|
/external/strace/tests-m32/ |
rt_tgsigqueueinfo.c | 67 info->si_uid = getuid();
|
/external/strace/tests-mx32/ |
rt_tgsigqueueinfo.c | 67 info->si_uid = getuid();
|
/external/ltp/testcases/kernel/syscalls/mq_notify/ |
mq_notify01.c | 104 si->si_pid == getpid() && si->si_uid == getuid(); 191 info.si_uid, getuid());
|
/external/ltp/testcases/kernel/syscalls/setreuid/ |
setreuid03.c | 184 if ((getuid() != ru->pw_uid) || (geteuid() != eu->pw_uid)) { 186 when, getuid(), geteuid());
|
setreuid05.c | 191 if ((getuid() != ru->pw_uid) || (geteuid() != eu->pw_uid)) { 193 when, getuid(), geteuid());
|
/external/selinux/policycoreutils/run_init/ |
run_init.c | 43 #include <sys/types.h> /* to make getuid() and getpwuid() happy */ 80 #include <unistd.h> /* for getuid(), exit(), getopt() */ 158 #include <unistd.h> /* for getuid(), exit(), crypt() */ 251 uid = getuid(); 253 uid = getuid();
|
/frameworks/base/cmds/idmap/ |
idmap.cpp | 121 uid_t uid = getuid(); 248 ALOGD("%s:%d: uid=%d gid=%d argv=%s\n", __FILE__, __LINE__, getuid(), getgid(), buf);
|
/external/bcc/src/cc/frontends/p4/test/ |
testP4toEbpf.py | 30 return os.getuid() == 0
|
/external/e2fsprogs/lib/ss/ |
pager.c | 46 if ((getuid() != geteuid()) || (getgid() != getegid()))
|
/external/honggfuzz/libhfcommon/ |
ns.c | 47 pid_t current_uid = getuid();
|
/external/ltp/testcases/kernel/syscalls/fstat/ |
fstat02.c | 142 user_id = getuid();
|
/external/ltp/testcases/kernel/syscalls/ipc/semctl/ |
semctl04.c | 135 perm.sem_perm.uid = getuid() + 1;
|
/external/ltp/testcases/kernel/syscalls/stat/ |
stat01.c | 145 user_id = getuid();
|
stat02.c | 214 user_id = getuid();
|
/external/ltp/testcases/network/packet/ |
fanout01.c | 33 int real_uid = getuid();
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/clock_settime/ |
5-1.c | 54 if (getuid() != 0) {
|
5-2.c | 54 if (getuid() != 0) {
|
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/mmap/ |
18-1.c | 116 if (getuid() == 0) {
|
/external/minijail/ |
libminijailpreload.c | 52 if (geteuid() != getuid() || getegid() != getgid()) {
|
/external/toybox/toys/lsb/ |
passwd.c | 64 if (!(myuid = getuid()) || !(toys.optflags&(FLAG_l|FLAG_u|FLAG_d))) {
|
/external/toybox/toys/other/ |
makedevs.c | 81 uid = *user ? xgetuid(user) : getuid();
|