Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/kernel/
Duser_namespace.c858 struct user_namespace *map_ns, in verify_root_map() argument
879 if (map_ns == file_ns) { in verify_root_map()
892 if (!file_ns_capable(file, map_ns->parent, CAP_SETFCAP)) in verify_root_map()
906 struct user_namespace *map_ns = seq->private; in map_write() local
953 if (cap_valid(cap_setid) && !file_ns_capable(file, map_ns, CAP_SYS_ADMIN)) in map_write()
1023 if (!new_idmap_permitted(file, map_ns, cap_setid, &new_map)) in map_write()