Searched refs:uid_map (Results 1 – 7 of 7) sorted by relevance
| /linux-6.15/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 …]
|
| H A D | internal.h | 345 int statmount_mnt_idmap(struct mnt_idmap *idmap, struct seq_file *seq, bool uid_map);
|
| /linux-6.15/tools/testing/selftests/mount/ |
| H A D | run_unprivileged_remount.sh | 7 if [ -f /proc/self/uid_map ] ; then
|
| /linux-6.15/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() 422 return KUIDT_INIT(map_id_down(&ns->uid_map, uid)); in make_kuid() 441 return map_id_up(&targ->uid_map, __kuid_val(kuid)); in from_kuid() 693 return m_start(seq, ppos, &ns->uid_map); in uid_m_start() 1132 &ns->uid_map, &ns->parent->uid_map); in proc_uid_map_write()
|
| H A D | user.c | 38 .uid_map = {
|
| /linux-6.15/tools/testing/selftests/filesystems/ |
| H A D | utils.c | 307 struct id_map uid_map = { in get_userns_fd() local 321 uid_mapl.elem = &uid_map; in get_userns_fd()
|
| /linux-6.15/include/linux/ |
| H A D | user_namespace.h | 77 struct uid_gid_map uid_map; member
|