Home
last modified time | relevance | path

Searched refs:new_nsproxy (Results 1 – 2 of 2) sorted by relevance

/kernel/
Dnsproxy.c239 struct nsproxy *new_nsproxy; in SYSCALL_DEFINE2() local
253 new_nsproxy = create_new_namespaces(0, tsk, current_user_ns(), tsk->fs); in SYSCALL_DEFINE2()
254 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()
255 err = PTR_ERR(new_nsproxy); in SYSCALL_DEFINE2()
259 err = ns->ops->install(new_nsproxy, ns); in SYSCALL_DEFINE2()
261 free_nsproxy(new_nsproxy); in SYSCALL_DEFINE2()
264 switch_task_namespaces(tsk, new_nsproxy); in SYSCALL_DEFINE2()
Dfork.c2199 struct nsproxy *new_nsproxy = NULL; in SYSCALL_DEFINE1() local
2244 err = unshare_nsproxy_namespaces(unshare_flags, &new_nsproxy, in SYSCALL_DEFINE1()
2249 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in SYSCALL_DEFINE1()
2262 if (new_nsproxy) in SYSCALL_DEFINE1()
2263 switch_task_namespaces(current, new_nsproxy); in SYSCALL_DEFINE1()