Lines Matching refs:nsproxy
740 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
849 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1767 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()
1874 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
2205 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in attach_recursive_mnt()
2469 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in open_detached_copy()
3722 ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); in SYSCALL_DEFINE3()
3949 touch_mnt_namespace(current->nsproxy->mnt_ns); in SYSCALL_DEFINE2()
4401 init_task.nsproxy->mnt_ns = ns; in init_mount_tree()
4506 ns_root.mnt = ¤t->nsproxy->mnt_ns->root->mnt; in current_chrooted()
4594 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing()
4630 struct nsproxy *nsproxy; in mntns_get() local
4633 nsproxy = task->nsproxy; in mntns_get()
4634 if (nsproxy) { in mntns_get()
4635 ns = &nsproxy->mnt_ns->ns; in mntns_get()
4650 struct nsproxy *nsproxy = nsset->nsproxy; in mntns_install() local
4669 old_mnt_ns = nsproxy->mnt_ns; in mntns_install()
4670 nsproxy->mnt_ns = mnt_ns; in mntns_install()
4677 nsproxy->mnt_ns = old_mnt_ns; in mntns_install()