Home
last modified time | relevance | path

Searched refs:nsproxy (Results 1 – 12 of 12) sorted by relevance

/fs/lockd/
Dprocfs.c25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_write()
52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, in nlm_end_grace_read()
/fs/
Dnamespace.c683 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in __is_local_mountpoint()
792 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1696 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()
1811 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
2140 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in attach_recursive_mnt()
2404 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in open_detached_copy()
3574 ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); in SYSCALL_DEFINE3()
3798 touch_mnt_namespace(current->nsproxy->mnt_ns); in SYSCALL_DEFINE2()
3838 init_task.nsproxy->mnt_ns = ns; in init_mount_tree()
3944 ns_root.mnt = &current->nsproxy->mnt_ns->root->mnt; in current_chrooted()
[all …]
Dproc_namespace.c243 struct nsproxy *nsp; in mounts_open_common()
254 nsp = task->nsproxy; in mounts_open_common()
Dfsopen.c122 if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
165 if (!ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE3()
Dfs_context.c243 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
/fs/proc/
Dproc_net.c90 p->net = get_net(current->nsproxy->net_ns); in bpf_iter_init_seq_net()
260 struct nsproxy *ns; in get_proc_task_net()
267 ns = task->nsproxy; in get_proc_task_net()
/fs/cifs/
Ddns_resolve.c80 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
Dconnect.c2433 if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) in match_server()
2550 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/fs/nfsd/
Dfault_inject.c50 struct net *net = current->nsproxy->net_ns; in fault_inject_write()
Dnfsctl.c157 return exports_net_open(current->nsproxy->net_ns, file); in exports_proc_open()
1348 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_fill_super()
Dexport.c253 nfsd_file_cache_purge(current->nsproxy->net_ns); in expkey_flush()
/fs/devpts/
Dinode.c265 (current->nsproxy->mnt_ns == init_task.nsproxy->mnt_ns); in parse_mount_options()