Home
last modified time | relevance | path

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

/fs/
Dnamespace.c659 return mnt->mnt_ns == current->nsproxy->mnt_ns; in check_mnt()
1312 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); in may_mount()
1387 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; in mnt_ns_loop()
1999 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; in do_new_mount()
2686 touch_mnt_namespace(current->nsproxy->mnt_ns); in SYSCALL_DEFINE2()
2726 init_task.nsproxy->mnt_ns = ns; in init_mount_tree()
2824 ns_root.mnt = &current->nsproxy->mnt_ns->root->mnt; in current_chrooted()
2842 struct mnt_namespace *ns = current->nsproxy->mnt_ns; in update_mnt_policy()
2864 struct nsproxy *nsproxy; in mntns_get() local
2867 nsproxy = task_nsproxy(task); in mntns_get()
[all …]
Dproc_namespace.c230 struct nsproxy *nsp; in mounts_open_common()
Dpnode.c281 user_ns = current->nsproxy->mnt_ns->user_ns; in propagate_mnt()
/fs/nfsd/
Dfault_inject.c126 struct net *net = current->nsproxy->net_ns; in fault_inject_write()
Dnfsctl.c146 return exports_net_open(current->nsproxy->net_ns, file); in exports_proc_open()
1085 return mount_ns(fs_type, flags, current->nsproxy->net_ns, nfsd_fill_super); in nfsd_mount()
Dnfs4state.c4836 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nfsd_net_id); in nfsd_for_n_state()
4853 struct nfsd_net *nn = net_generic(current->nsproxy->net_ns, nfsd_net_id); in nfsd_find_client()
/fs/proc/
Dproc_sysctl.c53 struct ctl_table **pentry, struct nsproxy *namespaces);
287 lookup_header_set(struct ctl_table_root *root, struct nsproxy *namespaces) in lookup_header_set()
457 ret = sysctl_follow_link(&h, &p, current->nsproxy); in proc_sys_lookup()
624 err = sysctl_follow_link(&head, &table, current->nsproxy); in proc_sys_link_fill_cache()
957 struct ctl_table **pentry, struct nsproxy *namespaces) in sysctl_follow_link()
Dproc_net.c110 struct nsproxy *ns; in get_proc_task_net()
/fs/afs/
Dsuper.c370 if (current->nsproxy->net_ns != &init_net) in afs_mount()
/fs/nfs/
Dclient.c1240 struct net *net = pid_ns->child_reaper->nsproxy->net_ns; in nfs_server_list_open()
1325 struct net *net = pid_ns->child_reaper->nsproxy->net_ns; in nfs_volume_list_open()
Dsuper.c927 data->net = current->nsproxy->net_ns; in nfs_alloc_parsed_mount_data()
/fs/cifs/
Dconnect.c2033 if (!net_eq(cifs_net_ns(server), current->nsproxy->net_ns)) in match_server()
2129 cifs_set_net_ns(tcp_ses, get_net(current->nsproxy->net_ns)); in cifs_get_tcp_session()