Lines Matching defs:child
65 pid_t child;
71 child = fork();
72 if (child == -1) {
76 if (child != 0) { /* parent */
80 pid = waitpid(child, &status, 0);
85 if (pid != child) {
87 child, pid);
90 die("child did not terminate cleanly\n");
102 die("remount root in child ns failed\n");
106 die("blocking firmware in child ns failed\n");
139 /* Negative case: firmware in child mount namespace, expected to fail */
140 printf("Testing with firmware in child namespace\n");