Home
last modified time | relevance | path

Searched refs:targetpath (Results 1 – 4 of 4) sorted by relevance

/kernel/liteos_a/testsuites/unittest/container/smoke/
DIt_uts_container_005.cpp48 char targetpath[100]; in UtsContainerTest() local
62 ret = sprintf_s(targetpath, sizeof(targetpath), "/proc/%d/container/uts", childPid); in UtsContainerTest()
67 fd = open(targetpath, O_RDONLY | O_CLOEXEC); in UtsContainerTest()
DIt_mnt_container_008.cpp52 char targetpath[PATH_LENGTH]; in ItMntContainer008() local
68 ret = sprintf_s(targetpath, PATH_LENGTH, "/proc/%d/container/mnt", childPid); in ItMntContainer008()
70 fd = open(targetpath, O_RDONLY | O_CLOEXEC); in ItMntContainer008()
DIt_time_container_003.cpp38 char targetpath[100]; /* 100: test len */ in childFunc() local
46 ret = sprintf_s(targetpath, 100, "/proc/%d/container/time", getppid()); /* 100: test len */ in childFunc()
50 fd = open(targetpath, O_RDONLY | O_CLOEXEC); in childFunc()
DIt_pid_container_031.cpp54 char targetpath[BUF_SIZE] = {0}; in ChildFun() local
67 ret = sprintf_s(targetpath, BUF_SIZE, "/proc/%d/container/pid", childPid); in ChildFun()
71 int fd = open(targetpath, O_RDONLY | O_CLOEXEC); in ChildFun()