Home
last modified time | relevance | path

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

/kernel/
Dcapability.c446 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable() function
457 EXPORT_SYMBOL(file_ns_capable);
Duser_namespace.c655 if (cap_valid(cap_setid) && !file_ns_capable(file, ns, CAP_SYS_ADMIN)) in map_write()
847 file_ns_capable(file, ns->parent, cap_setid)) in new_idmap_permitted()
Dresource.c116 if (file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN)) { in r_show()