Home
last modified time | relevance | path

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

/linux/kernel/
H A Duser_namespace.c210 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()
1135 &ns->uid_map, &ns->parent->uid_map); in proc_uid_map_write()
H A Duser.c39 .uid_map = {
/linux/tools/testing/selftests/mount/
H A Drun_unprivileged_remount.sh7 if [ -f /proc/self/uid_map ] ; then
/linux/tools/testing/selftests/filesystems/
H A Dutils.c310 struct id_map uid_map = { in get_userns_fd() local
324 uid_mapl.elem = &uid_map; in get_userns_fd()
/linux/include/linux/
H A Duser_namespace.h77 struct uid_gid_map uid_map; member
/linux/fs/
H A Dinternal.h352 int statmount_mnt_idmap(struct mnt_idmap *idmap, struct seq_file *seq, bool uid_map);