Searched refs:gid_map (Results 1 – 6 of 6) sorted by relevance
22 struct uid_gid_map gid_map; member135 return VFSGIDT_INIT_RAW(map_id_down(&idmap->gid_map, gid)); in make_vfsgid()188 gid = map_id_up(&idmap->gid_map, __vfsgid_val(vfsgid)); in from_vfsgid()280 if (idmap->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_mnt_idmap()281 kfree(idmap->gid_map.forward); in free_mnt_idmap()282 kfree(idmap->gid_map.reverse); in free_mnt_idmap()299 ret = copy_mnt_idmap(&mnt_userns->gid_map, &idmap->gid_map); in alloc_mnt_idmap()355 map = &idmap->gid_map; in statmount_mnt_idmap()356 map_up = ¤t_user_ns()->gid_map; in statmount_mnt_idmap()
206 if (ns->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns()207 kfree(ns->gid_map.forward); in free_user_ns()208 kfree(ns->gid_map.reverse); in free_user_ns()493 return KGIDT_INIT(map_id_down(&ns->gid_map, gid)); in make_kgid()512 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()703 return m_start(seq, ppos, &ns->gid_map); in gid_m_start()1151 &ns->gid_map, &ns->parent->gid_map); in proc_gid_map_write()1276 if (ns->gid_map.nr_extents != 0) in proc_setgroups_write()1300 allowed = ns->gid_map.nr_extents != 0; in userns_may_setgroups()
49 .gid_map = {
175 ns->gid_map.extent[0] = extent; in create_test_user_ns_with_mapping()176 ns->gid_map.nr_extents = 1; in create_test_user_ns_with_mapping()
316 struct id_map gid_map = { in get_userns_fd() local325 gid_mapl.elem = &gid_map; in get_userns_fd()
78 struct uid_gid_map gid_map; member