Home
last modified time | relevance | path

Searched refs:uid_map (Results 1 – 6 of 6) sorted by relevance

/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.patch257 xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid);
258 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER);
259 + r = write_string_file(uid_map, s, 0);
266 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
267 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER);
268 + r = write_string_file(uid_map, s, 0);
354 @@ -202,12 +202,12 @@ int userns_acquire(const char *uid_map,
357 xsprintf(path, "/proc/" PID_FMT "/uid_map", pid);
358 - r = write_string_file(path, uid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
359 + r = write_string_file(path, uid_map, 0);
/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) {
111 xsprintf(path, "/proc/" PID_FMT "/uid_map", pid);
112 - r = write_string_file(path, uid_map, WRITE_STRING_FILE_DISABLE_BUFFER);
113 + r = write_string_file(path, uid_map, 0);
329 xsprintf(uid_map, "/proc/" PID_FMT "/uid_map", pid);
330 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER);
331 + r = write_string_file(uid_map, s, 0);
338 xsprintf(uid_map, "/proc/" PID_FMT "/gid_map", pid);
339 - r = write_string_file(uid_map, s, WRITE_STRING_FILE_DISABLE_BUFFER);
340 + r = write_string_file(uid_map, s, 0);
/OK3568_Linux_fs/kernel/kernel/
H A Duser_namespace.c187 if (ns->uid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns()
188 kfree(ns->uid_map.forward); in free_user_ns()
189 kfree(ns->uid_map.reverse); in free_user_ns()
390 return KUIDT_INIT(map_id_down(&ns->uid_map, uid)); in make_kuid()
409 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid()
661 return m_start(seq, ppos, &ns->uid_map); in uid_m_start()
1101 &ns->uid_map, &ns->parent->uid_map); in proc_uid_map_write()
H A Duser.c28 .uid_map = {
/OK3568_Linux_fs/kernel/tools/testing/selftests/mount/
H A Drun_unprivileged_remount.sh7 if [ -f /proc/self/uid_map ] ; then
/OK3568_Linux_fs/kernel/include/linux/
H A Duser_namespace.h58 struct uid_gid_map uid_map; member