Home
last modified time | relevance | path

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

/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs91 let new_nsproxy = create_new_namespaces(unshare_flags, &pcb, USER_NS.clone())?; in unshare_nsproxy_namespaces() localVariable
92 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()
/DragonOS/kernel/src/process/
H A Dfork.rs284 let new_nsproxy = create_new_namespaces(clone_flags.bits(), current_pcb, USER_NS.clone())?; in copy_namespaces() localVariable
285 *new_pcb.nsproxy.write() = new_nsproxy; in copy_namespaces()