/third_party/selinux/libselinux/utils/ |
H A D | togglesebool.c | 81 struct passwd *pwd = getpwuid(getuid()); in main() 90 argv[i], getuid()); in main()
|
/third_party/pulseaudio/src/pulse/ |
H A D | util.c | 118 p = getuid() == 0 ? "root" : NULL; in pa_get_user_name() 129 if ((r = pa_getpwuid_malloc(getuid())) == NULL) { in pa_get_user_name() 130 pa_snprintf(s, l, "%lu", (unsigned long) getuid()); in pa_get_user_name() 190 if ((r = pa_getpwuid_malloc(getuid())) == NULL) { in pa_get_home_dir()
|
/third_party/node/deps/v8/third_party/jinja2/ |
H A D | bccache.py | 209 if not hasattr(os, "getuid"): 212 dirname = "_jinja2-cache-%d" % os.getuid() 224 actual_dir_stat.st_uid != os.getuid() 235 actual_dir_stat.st_uid != os.getuid()
|
/third_party/node/tools/inspector_protocol/jinja2/ |
H A D | bccache.py | 230 if not hasattr(os, 'getuid'): 233 dirname = '_jinja2-cache-%d' % os.getuid() 244 if actual_dir_stat.st_uid != os.getuid() \ 253 if actual_dir_stat.st_uid != os.getuid() \
|
/third_party/python/Lib/ |
H A D | netrc.py | 147 if prop.st_uid != os.getuid(): 154 user = pwd.getpwuid(os.getuid())[0] 156 user = 'uid %s' % os.getuid()
|
/third_party/skia/third_party/externals/jinja2/ |
H A D | bccache.py | 209 if not hasattr(os, "getuid"): 212 dirname = "_jinja2-cache-%d" % os.getuid() 224 actual_dir_stat.st_uid != os.getuid() 235 actual_dir_stat.st_uid != os.getuid()
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
H A D | shm_test_004.cpp | 55 ICUNIT_GOTO_EQUAL(ds.shm_perm.uid, getuid(), ds.shm_perm.uid, ERROR_OUT); in Testcase() 61 ds.shm_perm.uid = getuid(); in Testcase()
|
/third_party/musl/src/unistd/ |
H A D | getuid.c | 4 uid_t getuid(void) in getuid() function
|
/third_party/ltp/testcases/kernel/syscalls/mount/ |
H A D | mount03_suid_child.c | 22 TST_EXP_FAIL(setreuid(getuid(), 0), EPERM); in main()
|
H A D | mount03_setuid_test.c | 59 ruid = getuid(); in main()
|
/third_party/libfuse/test/ |
H A D | util.py | 72 if os.getuid() == 0: 133 if os.getuid() == 0:
|
/third_party/ltp/testcases/kernel/syscalls/mq_notify/ |
H A D | mq_notify01.c | 92 si->si_pid == getpid() && si->si_uid == getuid(); in sigfunc() 179 info.si_uid, getuid()); in do_test()
|
/third_party/ltp/testcases/kernel/syscalls/acct/ |
H A D | acct02.c | 101 if (ACCT_MEMBER(ac_uid) != getuid()) { in verify_acct() 102 tst_res(TINFO, "ac_uid != %d (%d)", getuid(), in verify_acct()
|
/third_party/rust/crates/rustix/src/process/ |
H A D | id.rs | 186 /// `getuid()`—Returns the process' real user ID. 192 /// [POSIX]: https://pubs.opengroup.org/onlinepubs/9699919799/functions/getuid.html 193 /// [Linux]: https://man7.org/linux/man-pages/man2/getuid.2.html 196 pub fn getuid() -> Uid { in getuid() functions 197 backend::process::syscalls::getuid() in getuid()
|
/third_party/toybox/toys/pending/ |
H A D | crontab.c | 242 fchown(fdout, getuid(), geteuid()); in update_crontab() 346 if (getuid()) error_exit("must be privileged to use -u"); in crontab_main() 348 } else pwd = xgetpwuid(getuid()); in crontab_main()
|
/third_party/ltp/testcases/kernel/syscalls/setuid/ |
H A D | setuid01.c | 24 uid = getuid(); in verify_setuid()
|
/third_party/musl/libc-test/src/functionalext/supplement/linux/ |
H A D | quotactl.c | 30 int ret = quotactl(cmd, "/dev", getuid(), (char *)(&strinfo)); in quotactl_0100()
|
/third_party/musl/libc-test/src/functionalext/supplement/unistd/ |
H A D | setuid.c | 32 if (getuid() != uid) { in setuid_0100()
|
H A D | getuid.c | 33 uid_t uid = getuid(); in getuid_0100()
|
/third_party/ltp/testcases/kernel/syscalls/setreuid/ |
H A D | setreuid01.c | 23 ruid = getuid(); in run()
|
H A D | setreuid04.c | 25 root_uid = getuid(); in setup()
|
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/ |
H A D | reugid_test_001.cpp | 61 ruid = getuid(); in Child1() 191 ret = getuid(); in Child() 248 ruid = getuid(); in Child() 255 ruid = getuid(); in Child()
|
/third_party/musl/src/signal/ |
H A D | sigqueue.c | 18 si.si_uid = getuid(); in sigqueue()
|
/third_party/musl/porting/liteos_a/user/src/signal/ |
H A D | sigqueue.c | 19 si.si_uid = getuid(); in sigqueue()
|
/third_party/ltp/testcases/kernel/syscalls/getgid/ |
H A D | getgid03.c | 29 uid = getuid(); in run() 32 tst_brk(TBROK | TERRNO, "getuid() returned unexpected value %d", uid); in run()
|