HomeSort by relevance Sort by last modified time
    Searched refs:GID_MAP (Results 1 - 4 of 4) sorted by null

  /external/ltp/testcases/kernel/containers/userns/
userns_helper.h 20 #define GID_MAP 1
52 else if (type == GID_MAP)
53 sprintf(path, "/proc/%d/gid_map", cpid);
userns07.c 71 updatemap(cpid1, GID_MAP, 0, parentgid, NULL);
112 updatemap(cpid1, GID_MAP, 0, parentgid, cleanup);
userns03.c 15 * /proc/PID/uid_map and /proc/PID/gid_map contains three values separated by
58 #define GID_MAP 1
123 sprintf(cpid1gidpath, "/proc/%d/gid_map", cpid1);
124 SAFE_FILE_SCANF(NULL, "/proc/self/gid_map", "%d %d %d",
128 printf("child_fn2 checks /proc/cpid2/gid_map:\n");
138 printf("child_fn1 checks /proc/cpid1/gid_map:\n");
225 updatemap(cpid1, GID_MAP, CHILD1GID, parentgid, cleanup);
226 updatemap(cpid2, GID_MAP, CHILD2GID, parentgid, cleanup);
userns06.c 152 updatemap(cpid1, GID_MAP, CHILD1GID, parentgid, cleanup);
153 updatemap(cpid2, GID_MAP, CHILD2GID, parentgid, cleanup);

Completed in 340 milliseconds