Lines Matching refs:nsproxy
699 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
808 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1716 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()
1823 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
2153 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in attach_recursive_mnt()
2417 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in open_detached_copy()
3667 ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); in SYSCALL_DEFINE3()
3894 touch_mnt_namespace(current->nsproxy->mnt_ns); in SYSCALL_DEFINE2()
4293 init_task.nsproxy->mnt_ns = ns; in init_mount_tree()
4399 ns_root.mnt = ¤t->nsproxy->mnt_ns->root->mnt; in current_chrooted()
4487 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing()
4523 struct nsproxy *nsproxy; in mntns_get() local
4526 nsproxy = task->nsproxy; in mntns_get()
4527 if (nsproxy) { in mntns_get()
4528 ns = &nsproxy->mnt_ns->ns; in mntns_get()
4543 struct nsproxy *nsproxy = nsset->nsproxy; in mntns_install() local
4562 old_mnt_ns = nsproxy->mnt_ns; in mntns_install()
4563 nsproxy->mnt_ns = mnt_ns; in mntns_install()
4570 nsproxy->mnt_ns = old_mnt_ns; in mntns_install()