Searched refs:new_nsproxy (Results 1 – 2 of 2) sorted by relevance
224 struct nsproxy *new_nsproxy; in SYSCALL_DEFINE2() local238 new_nsproxy = create_new_namespaces(0, tsk, current_user_ns(), tsk->fs); in SYSCALL_DEFINE2()239 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()240 err = PTR_ERR(new_nsproxy); in SYSCALL_DEFINE2()244 err = ns->ops->install(new_nsproxy, ns); in SYSCALL_DEFINE2()246 free_nsproxy(new_nsproxy); in SYSCALL_DEFINE2()249 switch_task_namespaces(tsk, new_nsproxy); in SYSCALL_DEFINE2()
1961 struct nsproxy *new_nsproxy = NULL; in SYSCALL_DEFINE1() local2006 err = unshare_nsproxy_namespaces(unshare_flags, &new_nsproxy, in SYSCALL_DEFINE1()2011 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in SYSCALL_DEFINE1()2024 if (new_nsproxy) in SYSCALL_DEFINE1()2025 switch_task_namespaces(current, new_nsproxy); in SYSCALL_DEFINE1()