Searched refs:nsproxy (Results 1 – 9 of 9) sorted by relevance
23 nsproxy: NsProxy, field58 let mut nsproxy = NsProxy::new(); in create_new_namespaces() localVariable68 nsproxy.set_pid_namespace(new_pid_ns); in create_new_namespaces()76 nsproxy.set_mnt_namespace(new_mnt_ns); in create_new_namespaces()78 Ok(nsproxy) in create_new_namespaces()
33 if let Some(nsproxy) = unshare_nsproxy_namespaces(unshare_flags)? { in sys_unshare()34 *current.get_nsproxy().write() = nsproxy; in sys_unshare()
122 let nsproxy = &mut nsset.nsproxy; in install() localVariable127 nsproxy.mnt_namespace = mnt_ns; in install()
105 nsproxy: create_new_namespaces(flags, ¤t, USER_NS.clone())?, in prepare_nsset()118 switch_task_namespace(current, nsset.nsproxy); // 转移所有权 in commit_nsset()
191 let nsproxy = &mut nsset.nsproxy; in install() localVariable209 nsproxy.pid_namespace = pid_ns.clone(); in install()
5 pcb -> nsproxy -> mnt_namespace
11 pcb -> nsproxy -> pid_namespace
666 nsproxy: Arc<RwLock<NsProxy>>, field754 nsproxy: Arc::new(RwLock::new(NsProxy::new())), in do_create_pcb()1047 self.nsproxy.clone() in get_nsproxy()1051 *self.nsproxy.write() = nsprsy; in set_nsproxy()
285 *new_pcb.nsproxy.write() = new_nsproxy; in copy_namespaces()