/linux-master/include/linux/ |
H A D | nsproxy.h | 28 * The nsproxy is shared by tasks which share all namespaces. 30 * nsproxy is copied. 32 struct nsproxy { struct 43 extern struct nsproxy init_nsproxy; 56 struct nsproxy *nsproxy; member in struct:nsset 72 * 1. only current task is allowed to change tsk->nsproxy pointer or 73 * any pointer on the nsproxy itself. Current must hold the task_lock 74 * when changing tsk->nsproxy. 81 * nsproxy [all...] |
H A D | time_namespace.h | 7 #include <linux/nsproxy.h> 49 void timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk); 70 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; 77 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; 84 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; 91 struct timens_offsets *ns_offsets = ¤t->nsproxy->time_ns->offsets; 101 struct time_namespace *ns = current->nsproxy->time_ns; 141 static inline void timens_on_fork(struct nsproxy *nsproxy, argument [all...] |
H A D | utsname.h | 7 #include <linux/nsproxy.h> 82 return ¤t->nsproxy->uts_ns->name;
|
H A D | init_task.h | 27 extern struct nsproxy init_nsproxy;
|
H A D | pid_namespace.h | 10 #include <linux/nsproxy.h>
|
H A D | ipc_namespace.h | 9 #include <linux/nsproxy.h>
|
/linux-master/kernel/ |
H A D | nsproxy.c | 14 #include <linux/nsproxy.h> 32 struct nsproxy init_nsproxy = { 52 static inline struct nsproxy *create_nsproxy(void) 54 struct nsproxy *nsproxy; local 56 nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL); 57 if (nsproxy) 58 refcount_set(&nsproxy->count, 1); 59 return nsproxy; 63 * Create new nsproxy an [all...] |
H A D | utsname.c | 122 struct nsproxy *nsproxy; local 125 nsproxy = task->nsproxy; 126 if (nsproxy) { 127 ns = nsproxy->uts_ns; 142 struct nsproxy *nsproxy = nsset->nsproxy; local 150 put_uts_ns(nsproxy [all...] |
H A D | pid_namespace.c | 366 if (task->nsproxy) { 367 ns = task->nsproxy->pid_ns_for_children; 391 struct nsproxy *nsproxy = nsset->nsproxy; local 416 put_pid_ns(nsproxy->pid_ns_for_children); 417 nsproxy->pid_ns_for_children = get_pid_ns(new);
|
H A D | utsname_sysctl.c | 23 uts_ns = current->nsproxy->uts_ns;
|
/linux-master/kernel/time/ |
H A D | namespace.c | 198 return current->nsproxy->time_ns->vvar_page; 264 struct nsproxy *nsproxy; local 267 nsproxy = task->nsproxy; 268 if (nsproxy) { 269 ns = nsproxy->time_ns; 280 struct nsproxy *nsproxy; local 283 nsproxy 306 struct nsproxy *nsproxy = nsset->nsproxy; local 326 timens_on_fork(struct nsproxy *nsproxy, struct task_struct *tsk) argument [all...] |
/linux-master/kernel/cgroup/ |
H A D | namespace.c | 6 #include <linux/nsproxy.h> 100 struct nsproxy *nsproxy = nsset->nsproxy; local 108 if (cgroup_ns == nsproxy->cgroup_ns) 112 put_cgroup_ns(nsproxy->cgroup_ns); 113 nsproxy->cgroup_ns = cgroup_ns; 121 struct nsproxy *nsproxy; local 124 nsproxy [all...] |
/linux-master/fs/lockd/ |
H A D | procfs.c | 11 #include <linux/nsproxy.h> 25 struct lockd_net *ln = net_generic(current->nsproxy->net_ns, 52 struct lockd_net *ln = net_generic(current->nsproxy->net_ns,
|
/linux-master/ipc/ |
H A D | namespace.c | 11 #include <linux/nsproxy.h> 217 struct nsproxy *nsproxy; local 220 nsproxy = task->nsproxy; 221 if (nsproxy) 222 ns = get_ipc_ns(nsproxy->ipc_ns); 235 struct nsproxy *nsproxy = nsset->nsproxy; local [all...] |
H A D | mq_sysctl.c | 8 #include <linux/nsproxy.h> 72 return ¤t->nsproxy->ipc_ns->mq_set; 77 return ¤t->nsproxy->ipc_ns->mq_set == set;
|
H A D | ipc_sysctl.c | 10 #include <linux/nsproxy.h> 186 return ¤t->nsproxy->ipc_ns->ipc_set; 191 return ¤t->nsproxy->ipc_ns->ipc_set == set;
|
/linux-master/net/ |
H A D | sysctl_net.c | 18 #include <linux/nsproxy.h> 33 return ¤t->nsproxy->net_ns->sysctls; 38 return ¤t->nsproxy->net_ns->sysctls == set;
|
/linux-master/fs/smb/client/ |
H A D | dns_resolve.c | 68 rc = dns_query(current->nsproxy->net_ns, NULL, hostname, len,
|
/linux-master/net/core/ |
H A D | net_namespace.c | 13 #include <linux/nsproxy.h> 731 struct nsproxy *nsproxy; local 733 nsproxy = tsk->nsproxy; 734 if (nsproxy) 735 net = get_net(nsproxy->net_ns); 1430 struct nsproxy *nsproxy; local 1433 nsproxy 1453 struct nsproxy *nsproxy = nsset->nsproxy; local [all...] |
/linux-master/fs/proc/ |
H A D | proc_net.c | 22 #include <linux/nsproxy.h> 99 p->net = get_net_track(current->nsproxy->net_ns, &p->ns_tracker, 270 struct nsproxy *ns; 277 ns = task->nsproxy;
|
/linux-master/kernel/bpf/ |
H A D | tcx.c | 13 struct net *net = current->nsproxy->net_ns; 62 struct net *net = current->nsproxy->net_ns; 125 struct net *net = current->nsproxy->net_ns; 312 struct net *net = current->nsproxy->net_ns;
|
/linux-master/net/sctp/ |
H A D | sysctl.c | 394 struct net *net = current->nsproxy->net_ns; 439 struct net *net = current->nsproxy->net_ns; 467 struct net *net = current->nsproxy->net_ns; 505 struct net *net = current->nsproxy->net_ns; 534 struct net *net = current->nsproxy->net_ns; 575 struct net *net = current->nsproxy->net_ns;
|
/linux-master/fs/ |
H A D | proc_namespace.c | 11 #include <linux/nsproxy.h> 242 struct nsproxy *nsp; 253 nsp = task->nsproxy;
|
H A D | namespace.c | 755 struct mnt_namespace *ns = current->nsproxy->mnt_ns; 860 return mnt->mnt_ns == current->nsproxy->mnt_ns; 1846 return ns_capable(current->nsproxy->mnt_ns->user_ns, CAP_SYS_ADMIN); 1966 return current->nsproxy->mnt_ns->seq >= mnt_ns->seq; 2306 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; 2656 struct user_namespace *user_ns = current->nsproxy->mnt_ns->user_ns; 3081 if (parent_mnt_to == current->nsproxy->mnt_ns->root) 4026 ns = alloc_mnt_ns(current->nsproxy->mnt_ns->user_ns, true); 4257 touch_mnt_namespace(current->nsproxy->mnt_ns); 5024 mnt = lookup_mnt_in_ns(kreq.mnt_id, current->nsproxy 5375 struct nsproxy *nsproxy; local 5395 struct nsproxy *nsproxy = nsset->nsproxy; local [all...] |
/linux-master/arch/parisc/kernel/ |
H A D | vdso.c | 16 #include <linux/nsproxy.h>
|