/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_user_container_002.cpp | 85 int newUid = getuid(); in childFunc() 105 newUid = getuid(); in childFunc() 123 int oldUid = getuid(); in ItUserContainer002() 146 int oldUid1 = getuid(); in ItUserContainer002()
|
D | It_user_container_003.cpp | 49 int newUid = getuid(); in TestMap() 69 newUid = getuid(); in TestMap() 101 oldUid = getuid(); in childFunc()
|
D | It_ipc_container_004.cpp | 192 ASSERT_EQ(ds.shm_perm.uid, getuid()); in ItIpcContainer004() 198 ds.shm_perm.uid = getuid(); in ItIpcContainer004()
|
/kernel/linux/build/test/kernel_ltp/syscalls/getuid/ |
D | BUILD.gn | 20 sources = [ "//third_party/ltp/testcases/kernel/syscalls/getuid/getuid01.c" ] 26 sources = [ "//third_party/ltp/testcases/kernel/syscalls/getuid/getuid03.c" ]
|
/kernel/liteos_a/testsuites/unittest/basic/mem/shm/full/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/media_tests/ |
D | media_device_open.c | 66 if (getuid() != 0) in main()
|
D | media_device_test.c | 71 if (getuid() != 0) in main()
|
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/ |
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()
|
/kernel/linux/linux-5.10/tools/testing/selftests/safesetid/ |
D | safesetid-test.c | 179 uid = getuid(); in test_userns() 218 if (getuid() == child_uid) in test_setuid()
|
/kernel/linux/linux-5.10/tools/thermal/tmon/ |
D | tmon.c | 128 syslog(LOG_NOTICE, "TMON started by User %d", getuid()); in start_syslog() 160 if (logstat.st_uid != getuid()) { in prepare_logging()
|
/kernel/linux/linux-5.10/arch/um/os-Linux/ |
D | user_syms.c | 102 EXPORT_SYMBOL_PROTO(getuid);
|
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/ |
D | clone3_cap_checkpoint_restore.c | 147 EXPECT_EQ(getuid(), 0) in TEST()
|
D | clone3.c | 129 uid_t uid = getuid(); in main()
|
D | clone3_set_tid.c | 154 uid_t uid = getuid(); in main()
|
/kernel/linux/build/test/kernel_ltp/syscalls/ |
D | BUILD.gn | 261 "getuid:getuid01", 262 "getuid:getuid03",
|
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/ |
D | test_bpftool.py | 64 if os.getuid() != 0:
|
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/ |
D | step_after_suspend_test.c | 138 if (getuid() != 0) in suspend()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mount/ |
D | nosymfollow-test.c | 96 uid_t uid = getuid(); in create_and_enter_ns()
|
D | unprivileged-remount-test.c | 159 uid = getuid(); in create_and_enter_userns()
|
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/ |
D | pidfd_getfd_test.c | 185 uid = getuid(); in TEST_F()
|
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/ |
D | process_test_067.cpp | 163 (void)sprintf_s(temp1, NUMMAX, "uid = %d", getuid()); in TestSpawnAttr()
|
D | process_test_066.cpp | 165 (void)sprintf_s(temp1, NUMMAX, "uid = %d", getuid()); in TestSpawnAttr()
|
/kernel/linux/linux-5.10/tools/testing/selftests/ipc/ |
D | msgque.c | 200 if (getuid() != 0) in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/ |
D | mq_open_tests.c | 267 if (getuid() != 0) in main()
|
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/ |
D | test_execve.c | 96 outer_uid = getuid(); in create_and_enter_ns()
|