Searched refs:uid_map (Results 1 – 6 of 6) sorted by relevance
| /linux/fs/ |
| H A D | mnt_idmapping.c | 21 struct uid_gid_map uid_map; member 96 return VFSUIDT_INIT_RAW(map_id_down(&idmap->uid_map, uid)); in make_vfsuid() 159 uid = map_id_up(&idmap->uid_map, __vfsuid_val(vfsuid)); in from_vfsuid() 276 if (idmap->uid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_mnt_idmap() 277 kfree(idmap->uid_map.forward); in free_mnt_idmap() 278 kfree(idmap->uid_map.reverse); in free_mnt_idmap() 297 ret = copy_mnt_idmap(&mnt_userns->uid_map, &idmap->uid_map); in alloc_mnt_idmap() 339 int statmount_mnt_idmap(struct mnt_idmap *idmap, struct seq_file *seq, bool uid_map) in statmount_mnt_idmap() argument 351 if (uid_map) { in statmount_mnt_idmap() 352 map = &idmap->uid_map; in statmount_mnt_idmap() [all …]
|
| /linux/kernel/ |
| H A D | user_namespace.c | 210 if (ns->uid_map.nr_extents > UID_GID_MAP_MAX_BASE_EXTENTS) { in free_user_ns() 211 kfree(ns->uid_map.forward); in free_user_ns() 212 kfree(ns->uid_map.reverse); in free_user_ns() 425 return KUIDT_INIT(map_id_down(&ns->uid_map, uid)); in make_kuid() 444 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid() 696 return m_start(seq, ppos, &ns->uid_map); in uid_m_start() 1134 &ns->uid_map, &ns->parent->uid_map); in proc_uid_map_write()
|
| H A D | user.c | 39 .uid_map = {
|
| /linux/tools/testing/selftests/mount/ |
| H A D | run_unprivileged_remount.sh | 7 if [ -f /proc/self/uid_map ] ; then
|
| /linux/tools/testing/selftests/filesystems/ |
| H A D | utils.c | 310 struct id_map uid_map = { in get_userns_fd() local 324 uid_mapl.elem = &uid_map; in get_userns_fd() 498 ret = write_file("/proc/self/uid_map", buf); in setup_userns() 530 ret = write_file("/proc/self/uid_map", buf); in caps_down()
|
| /linux/include/linux/ |
| H A D | user_namespace.h | 77 struct uid_gid_map uid_map; member
|