Home
last modified time | relevance | path

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

/linux-6.6.21/kernel/
Duser_namespace.c204 if (ns->gid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns()
205 kfree(ns->gid_map.forward); in free_user_ns()
206 kfree(ns->gid_map.reverse); in free_user_ns()
479 return KGIDT_INIT(map_id_down(&ns->gid_map, gid)); in make_kgid()
498 return map_id_up(&targ->gid_map, __kgid_val(kgid)); in from_kgid()
689 return m_start(seq, ppos, &ns->gid_map); in gid_m_start()
1139 &ns->gid_map, &ns->parent->gid_map); in proc_gid_map_write()
1264 if (ns->gid_map.nr_extents != 0) in proc_setgroups_write()
1288 allowed = ns->gid_map.nr_extents != 0; in userns_may_setgroups()
Duser.c38 .gid_map = {
/linux-6.6.21/include/linux/
Duser_namespace.h70 struct uid_gid_map gid_map; member