Home
last modified time | relevance | path

Searched refs:getuid (Results 1 – 25 of 52) sorted by relevance

123

/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_user_container_002.cpp85 int newUid = getuid(); in childFunc()
105 newUid = getuid(); in childFunc()
123 int oldUid = getuid(); in ItUserContainer002()
146 int oldUid1 = getuid(); in ItUserContainer002()
DIt_user_container_003.cpp49 int newUid = getuid(); in TestMap()
69 newUid = getuid(); in TestMap()
101 oldUid = getuid(); in childFunc()
DIt_ipc_container_004.cpp192 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/
DBUILD.gn20 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/
Dshm_test_004.cpp55 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/
Dmedia_device_open.c66 if (getuid() != 0) in main()
Dmedia_device_test.c71 if (getuid() != 0) in main()
/kernel/liteos_a/testsuites/unittest/security/reugid/smoke/
Dreugid_test_001.cpp61 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/
Dsafesetid-test.c179 uid = getuid(); in test_userns()
218 if (getuid() == child_uid) in test_setuid()
/kernel/linux/linux-5.10/tools/thermal/tmon/
Dtmon.c128 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/
Duser_syms.c102 EXPORT_SYMBOL_PROTO(getuid);
/kernel/linux/linux-5.10/tools/testing/selftests/clone3/
Dclone3_cap_checkpoint_restore.c147 EXPECT_EQ(getuid(), 0) in TEST()
Dclone3.c129 uid_t uid = getuid(); in main()
Dclone3_set_tid.c154 uid_t uid = getuid(); in main()
/kernel/linux/build/test/kernel_ltp/syscalls/
DBUILD.gn261 "getuid:getuid01",
262 "getuid:getuid03",
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
Dtest_bpftool.py64 if os.getuid() != 0:
/kernel/linux/linux-5.10/tools/testing/selftests/breakpoints/
Dstep_after_suspend_test.c138 if (getuid() != 0) in suspend()
/kernel/linux/linux-5.10/tools/testing/selftests/mount/
Dnosymfollow-test.c96 uid_t uid = getuid(); in create_and_enter_ns()
Dunprivileged-remount-test.c159 uid = getuid(); in create_and_enter_userns()
/kernel/linux/linux-5.10/tools/testing/selftests/pidfd/
Dpidfd_getfd_test.c185 uid = getuid(); in TEST_F()
/kernel/liteos_a/testsuites/unittest/process/basic/process/full/
Dprocess_test_067.cpp163 (void)sprintf_s(temp1, NUMMAX, "uid = %d", getuid()); in TestSpawnAttr()
Dprocess_test_066.cpp165 (void)sprintf_s(temp1, NUMMAX, "uid = %d", getuid()); in TestSpawnAttr()
/kernel/linux/linux-5.10/tools/testing/selftests/ipc/
Dmsgque.c200 if (getuid() != 0) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/mqueue/
Dmq_open_tests.c267 if (getuid() != 0) in main()
/kernel/linux/linux-5.10/tools/testing/selftests/capabilities/
Dtest_execve.c96 outer_uid = getuid(); in create_and_enter_ns()

123