Home
last modified time | relevance | path

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

/kernel/
Dnsproxy.c31 struct nsproxy init_nsproxy = {
44 static inline struct nsproxy *create_nsproxy(void) in create_nsproxy()
46 struct nsproxy *nsproxy; in create_nsproxy() local
48 nsproxy = kmem_cache_alloc(nsproxy_cachep, GFP_KERNEL); in create_nsproxy()
49 if (nsproxy) in create_nsproxy()
50 atomic_set(&nsproxy->count, 1); in create_nsproxy()
51 return nsproxy; in create_nsproxy()
59 static struct nsproxy *create_new_namespaces(unsigned long flags, in create_new_namespaces()
63 struct nsproxy *new_nsp; in create_new_namespaces()
70 new_nsp->mnt_ns = copy_mnt_ns(flags, tsk->nsproxy->mnt_ns, user_ns, new_fs); in create_new_namespaces()
[all …]
Dutsname.c94 struct nsproxy *nsproxy; in utsns_get() local
97 nsproxy = task_nsproxy(task); in utsns_get()
98 if (nsproxy) { in utsns_get()
99 ns = nsproxy->uts_ns; in utsns_get()
112 static int utsns_install(struct nsproxy *nsproxy, void *new) in utsns_install() argument
121 put_uts_ns(nsproxy->uts_ns); in utsns_install()
122 nsproxy->uts_ns = ns; in utsns_install()
Dpid_namespace.c326 static int pidns_install(struct nsproxy *nsproxy, void *ns) in pidns_install() argument
352 put_pid_ns(nsproxy->pid_ns); in pidns_install()
353 nsproxy->pid_ns = get_pid_ns(new); in pidns_install()
Dutsname_sysctl.c25 uts_ns = current->nsproxy->uts_ns; in get_uts()
Duser_namespace.c842 static int userns_install(struct nsproxy *nsproxy, void *ns) in userns_install() argument
Dfork.c1241 (task_active_pid_ns(current) != current->nsproxy->pid_ns)) in copy_process()
1415 pid = alloc_pid(p->nsproxy->pid_ns); in copy_process()
1879 struct nsproxy *new_nsproxy = NULL; in SYSCALL_DEFINE1()
DMakefile11 hrtimer.o rwsem.o nsproxy.o srcu.o semaphore.o \
Dsys.c1475 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
1526 if (!ns_capable(current->nsproxy->uts_ns->user_ns, CAP_SYS_ADMIN)) in SYSCALL_DEFINE2()
Dsysctl_binary.c1250 struct net *net = current->nsproxy->net_ns; in get_sysctl()