Lines Matching defs:cpid
29 pid_t cpid;
40 cpid = SAFE_CLONE(&args);
41 if (!cpid) {
49 updatemap(cpid, UID_MAP, 0, parentuid);
50 updatemap(cpid, GID_MAP, 0, parentgid);
63 pid_t cpid;
68 cpid = SAFE_CLONE(&args);
69 if (!cpid) {
78 sprintf(path, "/proc/%d/setgroups", cpid);
82 updatemap(cpid, UID_MAP, 0, parentuid);
83 updatemap(cpid, GID_MAP, 0, parentgid);