Searched refs:new_nsproxy (Results 1 – 2 of 2) sorted by relevance
91 let new_nsproxy = create_new_namespaces(unshare_flags, &pcb, USER_NS.clone())?; in unshare_nsproxy_namespaces() localVariable92 Ok(Some(new_nsproxy)) in unshare_nsproxy_namespaces()95 pub fn switch_task_namespace(pcb: Arc<ProcessControlBlock>, new_nsproxy: NsProxy) { in switch_task_namespace()97 pcb.set_nsproxy(new_nsproxy); in switch_task_namespace()
284 let new_nsproxy = create_new_namespaces(clone_flags.bits(), current_pcb, USER_NS.clone())?; in copy_namespaces() localVariable285 *new_pcb.nsproxy.write() = new_nsproxy; in copy_namespaces()