Lines Matching refs:cpid1
49 pid_t cpid1; in child_fn1() local
59 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in child_fn1()
61 if (cpid1 < 0) { in child_fn1()
70 updatemap(cpid1, UID_MAP, 0, parentuid, NULL); in child_fn1()
71 updatemap(cpid1, GID_MAP, 0, parentgid, NULL); in child_fn1()
75 if (waitpid(cpid1, &status, 0) == -1) in child_fn1()
90 pid_t cpid1; in test_max_nest() local
96 cpid1 = ltp_clone_quick(CLONE_NEWUSER | SIGCHLD, in test_max_nest()
98 if (cpid1 < 0) in test_max_nest()
105 sprintf(path, "/proc/%d/setgroups", cpid1); in test_max_nest()
111 updatemap(cpid1, UID_MAP, 0, parentuid, cleanup); in test_max_nest()
112 updatemap(cpid1, GID_MAP, 0, parentgid, cleanup); in test_max_nest()
115 tst_record_childstatus(cleanup, cpid1); in test_max_nest()