Searched refs:uid_map (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/tools/testing/selftests/mount/ |
H A D | run_unprivileged_remount.sh | 7 if [ -f /proc/self/uid_map ] ; then
|
/openbmc/linux/kernel/ |
H A D | user_namespace.c | 208 if (ns->uid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns() 209 kfree(ns->uid_map.forward); in free_user_ns() 210 kfree(ns->uid_map.reverse); in free_user_ns() 411 return KUIDT_INIT(map_id_down(&ns->uid_map, uid)); in make_kuid() 430 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid() 682 return m_start(seq, ppos, &ns->uid_map); in uid_m_start() 1122 &ns->uid_map, &ns->parent->uid_map); in proc_uid_map_write()
|
H A D | user.c | 28 .uid_map = {
|
/openbmc/openbmc/poky/meta/recipes-core/systemd/systemd/ |
H A D | 0012-do-not-disable-buffer-in-writing-files.patch | 111 @@ -227,12 +227,12 @@ int userns_acquire(const char *uid_map, const char *gid_map) { 114 xsprintf(path, "/proc/" PID_FMT "/uid_map", pid); 115 - r = write_string_file(path, uid_map, WRITE_STRING_FILE_DISABLE_BUFFER); 116 + r = write_string_file(path, uid_map, 0); 297 xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid); 298 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER); 299 + r = write_string_file(uid_map, s, 0); 306 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid); 307 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER); 308 + r = write_string_file(uid_map, s, 0);
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-core/sdbus-c++/sdbus-c++-libsystemd/ |
H A D | 0012-do-not-disable-buffer-in-writing-files.patch | 111 @@ -227,12 +227,12 @@ int userns_acquire(const char *uid_map, const char *gid_map) { 114 xsprintf(path, "/proc/" PID_FMT "/uid_map", pid); 115 - r = write_string_file(path, uid_map, WRITE_STRING_FILE_DISABLE_BUFFER); 116 + r = write_string_file(path, uid_map, 0); 297 xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid); 298 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER); 299 + r = write_string_file(uid_map, s, 0); 306 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid); 307 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER); 308 + r = write_string_file(uid_map, s, 0);
|
/openbmc/linux/include/linux/ |
H A D | user_namespace.h | 69 struct uid_gid_map uid_map; member
|