Searched refs:parentgid (Results 1 – 4 of 4) sorted by relevance
/external/ltp/testcases/kernel/containers/userns/ |
D | userns07.c | 53 int parentgid; in child_fn1() local 68 parentgid = getegid(); in child_fn1() 71 updatemap(cpid1, GID_MAP, 0, parentgid, NULL); in child_fn1() 92 int parentgid; in test_max_nest() local 102 parentgid = getegid(); in test_max_nest() 112 updatemap(cpid1, GID_MAP, 0, parentgid, cleanup); in test_max_nest()
|
D | userns03.c | 62 static int cpid1, parentuid, parentgid; variable 127 if (idinsidens != CHILD2GID || idoutsidens != parentgid) { in child_fn2() 176 parentgid = getegid(); in main() 225 updatemap(cpid1, GID_MAP, CHILD1GID, parentgid, cleanup); in main() 226 updatemap(cpid2, GID_MAP, CHILD2GID, parentgid, cleanup); in main()
|
D | userns06.c | 44 static int cpid1, parentuid, parentgid; variable 123 parentgid = getegid(); in main() 152 updatemap(cpid1, GID_MAP, CHILD1GID, parentgid, cleanup); in main() 153 updatemap(cpid2, GID_MAP, CHILD2GID, parentgid, cleanup); in main()
|
D | userns02.c | 74 int parentgid; in main() local 91 parentgid = getegid(); in main() 106 sprintf(content, "100 %d 1", parentgid); in main()
|