Home
last modified time | relevance | path

Searched refs:gid_map (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/kernel/
Duser_namespace.c183 if (ns->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns()
184 kfree(ns->gid_map.forward); in free_user_ns()
185 kfree(ns->gid_map.reverse); in free_user_ns()
458 return KGIDT_INIT(map_id_down(&ns->gid_map, gid)); in make_kgid()
477 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
668 return m_start(seq, ppos, &ns->gid_map); in gid_m_start()
1118 &ns->gid_map, &ns->parent->gid_map); in proc_gid_map_write()
1243 if (ns->gid_map.nr_extents != 0) in proc_setgroups_write()
1267 allowed = ns->gid_map.nr_extents != 0; in userns_may_setgroups()
Duser.c38 .gid_map = {
/kernel/linux/linux-5.10/include/linux/
Duser_namespace.h58 struct uid_gid_map gid_map; member