Searched refs:file_ns_capable (Results 1 – 6 of 6) sorted by relevance
/kernel/ |
D | capability.c | 467 bool file_ns_capable(const struct file *file, struct user_namespace *ns, in file_ns_capable() function 479 EXPORT_SYMBOL(file_ns_capable);
|
D | user_namespace.c | 913 if (!file_ns_capable(file, map_ns->parent, CAP_SETFCAP)) in verify_root_map() 974 if (cap_valid(cap_setid) && !file_ns_capable(file, map_ns, CAP_SYS_ADMIN)) in map_write() 1196 file_ns_capable(file, ns->parent, cap_setid)) in new_idmap_permitted()
|
D | resource.c | 120 if (file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN)) { in r_show()
|
D | seccomp.c | 2435 if (!file_ns_capable(m->file, &init_user_ns, CAP_SYS_ADMIN)) in proc_pid_seccomp_cache()
|
/kernel/time/ |
D | namespace.c | 375 if (!file_ns_capable(file, time_ns->user_ns, CAP_SYS_TIME)) { in proc_timens_set_offset()
|
/kernel/cgroup/ |
D | cgroup-v1.c | 561 !file_ns_capable(of->file, &init_user_ns, CAP_SYS_ADMIN)) in cgroup_release_agent_write()
|