Searched refs:targetpath (Results 1 – 4 of 4) sorted by relevance
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
D | It_uts_container_005.cpp | 48 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()
|
D | It_mnt_container_008.cpp | 52 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()
|
D | It_time_container_003.cpp | 38 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()
|
D | It_pid_container_031.cpp | 54 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()
|