Home
last modified time | relevance | path

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

/openbmc/linux/kernel/
H A 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()
H A Duser.c38 .gid_map = {
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/
H A D0012-do-not-disable-buffer-in-writing-files.patch74 @@ -354,12 +354,12 @@ int userns_acquire(const char *uid_map, const char *gid_map) {
83 xsprintf(path, "/proc/" PID_FMT "/gid_map", pid);
84 - r = write_string_file(path, gid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
85 + r = write_string_file(path, gid_map, 0);
281 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
/openbmc/linux/include/linux/
H A Duser_namespace.h70 struct uid_gid_map gid_map; member
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0012-do-not-disable-buffer-in-writing-files.patch116 xsprintf(path, "/proc/" PID_FMT "/gid_map", pid);
117 - r = write_string_file(path, gid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
118 + r = write_string_file(path, gid_map, 0);
282 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);