Lines Matching refs:nsproxy
670 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
778 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1665 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()
1768 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
2067 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in attach_recursive_mnt()
2344 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in open_detached_copy()
3500 ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); in SYSCALL_DEFINE3()
3724 touch_mnt_namespace(current->nsproxy->mnt_ns); in SYSCALL_DEFINE2()
3764 init_task.nsproxy->mnt_ns = ns; in init_mount_tree()
3857 ns_root.mnt = ¤t->nsproxy->mnt_ns->root->mnt; in current_chrooted()
3940 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in mount_too_revealing()
3976 struct nsproxy *nsproxy; in mntns_get() local
3979 nsproxy = task->nsproxy; in mntns_get()
3980 if (nsproxy) { in mntns_get()
3981 ns = &nsproxy->mnt_ns->ns; in mntns_get()
3994 static int mntns_install(struct nsproxy *nsproxy, struct ns_common *ns) in mntns_install() argument
4013 old_mnt_ns = nsproxy->mnt_ns; in mntns_install()
4014 nsproxy->mnt_ns = mnt_ns; in mntns_install()
4021 nsproxy->mnt_ns = old_mnt_ns; in mntns_install()