Home
last modified time | relevance | path

Searched refs:nsproxy (Results 1 – 14 of 14) 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.c670 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 = &current->nsproxy->mnt_ns->root->mnt; in current_chrooted()
[all …]
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()
Dproc_namespace.c246 struct nsproxy *nsp; in mounts_open_common()
257 nsp = task->nsproxy; in mounts_open_common()
Dfs_context.c270 fc->net_ns = get_net(current->nsproxy->net_ns); in alloc_fs_context()
/fs/cifs/
Ddns_resolve.c80 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len, in dns_resolve_server_name_to_ip()
Dconnect.c2657 if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) in match_server()
2770 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()
/fs/proc/
Dproc_net.c257 struct nsproxy *ns; in get_proc_task_net()
264 ns = task->nsproxy; in get_proc_task_net()
/fs/nfsd/
Dfault_inject.c50 struct net *net = current->nsproxy->net_ns; in fault_inject_write()
Dnfs4state.c7015 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_find_client()
7033 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_print_clients()
7056 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_forget_client()
7083 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_forget_clients()
7119 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_add_lock_to_list()
7190 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_print_locks()
7223 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_forget_client_locks()
7244 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_forget_locks()
7268 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_foreach_client_openowner()
7321 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_inject_print_openowners()
[all …]
Dnfsctl.c157 return exports_net_open(current->nsproxy->net_ns, file); in exports_proc_open()
1342 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, in nfsd_fill_super()
Dexport.c243 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()
/fs/nfs/
Dsuper.c952 data->net = current->nsproxy->net_ns; in nfs_alloc_parsed_mount_data()
2315 data->net = current->nsproxy->net_ns; in nfs_remount()