Searched refs:childsPid (Results 1 - 2 of 2) sorted by relevance
/kernel/liteos_a/testsuites/unittest/container/smoke/ |
H A D | It_uts_container_006.cpp | 40 int childsPid = CloneWrapper(ChildFunction, CLONE_NEWUTS, NULL); in UtsContainerTest() local 41 if (childsPid == -1) { in UtsContainerTest() 44 auto childlink = ReadlinkContainer(childsPid, containerType); in UtsContainerTest() 46 std::string filePath = GenContainerLinkPath(childsPid, containerType); in UtsContainerTest() 70 ret = waitpid(childsPid, &status, 0); in UtsContainerTest() 71 if (ret != childsPid) { in UtsContainerTest()
|
H A D | It_user_container_004.cpp | 53 int childsPid = CloneWrapper(ChildFunction, CLONE_NEWUSER, NULL); in childFunc() local 54 if (childsPid == -1) { in childFunc() 58 childlink = ReadlinkContainer(childsPid, containerType); in childFunc() 59 filePath = GenContainerLinkPath(childsPid, containerType); in childFunc() 75 ret = waitpid(childsPid, &status, 0); in childFunc() 76 if (ret != childsPid) { in childFunc()
|
Completed in 1 milliseconds