Searched refs:new_nsproxy (Results 1 – 2 of 2) sorted by relevance
236 struct nsproxy *new_nsproxy; in SYSCALL_DEFINE2() local250 new_nsproxy = create_new_namespaces(0, tsk, current_user_ns(), tsk->fs); in SYSCALL_DEFINE2()251 if (IS_ERR(new_nsproxy)) { in SYSCALL_DEFINE2()252 err = PTR_ERR(new_nsproxy); in SYSCALL_DEFINE2()256 err = ns->ops->install(new_nsproxy, ns); in SYSCALL_DEFINE2()258 free_nsproxy(new_nsproxy); in SYSCALL_DEFINE2()261 switch_task_namespaces(tsk, new_nsproxy); in SYSCALL_DEFINE2()
2828 struct nsproxy *new_nsproxy = NULL; in ksys_unshare() local2873 err = unshare_nsproxy_namespaces(unshare_flags, &new_nsproxy, in ksys_unshare()2878 if (new_fs || new_fd || do_sysvsem || new_cred || new_nsproxy) { in ksys_unshare()2891 if (new_nsproxy) in ksys_unshare()2892 switch_task_namespaces(current, new_nsproxy); in ksys_unshare()