HomeSort by relevance Sort by last modified time
    Searched defs:GID_MAP (Results 1 - 2 of 2) 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);
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);

Completed in 75 milliseconds