Searched refs:map (Results 1 - 5 of 5) sorted by relevance

/lxc/src/python-lxc/
H A Dsetup.py.in53 srcdir, builddir, top_srcdir, top_builddir = map(os.path.abspath,
56 builddir, top_srcdir, top_builddir = map(lambda d: os.path.relpath(d, srcdir),
/lxc/src/lxc/tools/
H A Dlxc_usernsexec.c67 printf(" [u|g|b]: map user id, group id, or both\n");
70 printf(" range: how many ids to map\n");
139 * given a string like "b:0:100000:10", map both uids and gids
142 static int parse_map(char *map) argument
152 if (!map)
155 ret = sscanf(map, "%c:%ld:%ld:%ld", &which, &ns_id, &host_id, &range);
195 * map, and once for the default gid map.
197 * allowed map. We only use the first one for each of uid and
H A Dlxc-start-ephemeral.in55 return ':'.join(map(lambda x: "%02x" % x, mac))
/lxc/src/lxc/
H A Dconf.c3349 struct id_map *map; local
3397 map = iterator->elem;
3398 if (map->idtype != type)
3405 use_shadow ? " " : "", map->nsid,
3406 map->hostid, map->range,
3443 struct id_map *map; local
3446 map = it->elem;
3447 if (map->idtype != idtype)
3449 if (map
3460 struct id_map *map; local
3474 struct id_map *map; local
[all...]
H A Dlxccontainer.c1192 struct id_map *map; local
1202 map = it->elem;
1212 map->idtype == ID_TYPE_UID ? 'u' : 'g',
1213 map->nsid, map->hostid, map->range);
1226 ERROR("Could not find free uid to map");
1250 ERROR("Could not find free uid to map");

Completed in 45 milliseconds