Searched refs:idmap (Results 1 - 3 of 3) sorted by relevance

/lxc/src/lxc/
H A Dconfile.c1508 struct id_map *idmap = NULL; local
1528 idmap = malloc(sizeof(*idmap));
1529 if (!idmap)
1531 memset(idmap, 0, sizeof(*idmap));
1539 idmap->idtype = ID_TYPE_UID;
1541 idmap->idtype = ID_TYPE_GID;
1545 idmap->hostid = hostid;
1546 idmap
[all...]
H A Dconf.h407 extern int lxc_map_ids(struct lxc_list *idmap, pid_t pid);
H A Dconf.c3347 int lxc_map_ids(struct lxc_list *idmap, pid_t pid) argument
3360 /* If new{g,u}idmap exists, that is, if shadow is handing out subuid
3393 lxc_list_for_each(iterator, idmap) {
4574 struct lxc_list *idmap; local
4591 if ((idmap = idmap_add_id(conf, geteuid(), getegid())) == NULL) {
4596 ret = lxc_map_ids(idmap, pid);
4597 lxc_free_idmap(idmap);
4598 free(idmap);

Completed in 377 milliseconds