Home
last modified time | relevance | path

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

/OK3568_Linux_fs/kernel/kernel/
H A 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()
H A Duser.c38 .gid_map = {
/OK3568_Linux_fs/yocto/poky/meta/recipes-core/systemd/systemd/
H A D0022-do-not-disable-buffer-in-writing-files.patch108 @@ -202,12 +202,12 @@ int userns_acquire(const char *uid_map, const char *gid_map) {
117 xsprintf(path, "/proc/" PID_FMT "/gid_map", pid);
118 - r = write_string_file(path, gid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
119 + r = write_string_file(path, gid_map, 0);
338 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/
H A D0022-do-not-disable-buffer-in-writing-files.patch266 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
363 xsprintf(path, "/proc/" PID_FMT "/gid_map", pid);
364 - r = write_string_file(path, gid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
365 + r = write_string_file(path, gid_map, 0);
/OK3568_Linux_fs/kernel/include/linux/
H A Duser_namespace.h59 struct uid_gid_map gid_map; member