Lines Matching refs:user_ns
227 .user_ns = &init_user_ns,
2101 if (!ns_capable(ns->user_ns, CAP_SYS_ADMIN)) { in cgroup_mount()
2860 !ns_capable(tcred->user_ns, CAP_SYS_NICE)) in cgroup_procs_write_permission()
5665 get_user_ns(init_cgroup_ns.user_ns); in cgroup_init()
6397 put_user_ns(ns->user_ns); in free_cgroup_ns()
6404 struct user_namespace *user_ns, in copy_cgroup_ns() argument
6419 if (!ns_capable(user_ns, CAP_SYS_ADMIN)) in copy_cgroup_ns()
6422 ucounts = inc_cgroup_namespaces(user_ns); in copy_cgroup_ns()
6439 new_ns->user_ns = get_user_ns(user_ns); in copy_cgroup_ns()
6456 !ns_capable(cgroup_ns->user_ns, CAP_SYS_ADMIN)) in cgroupns_install()
6493 return to_cg_ns(ns)->user_ns; in cgroupns_owner()