Home
last modified time | relevance | path

Searched refs:nsproxy (Results 1 – 9 of 9) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Dmod.rs23 nsproxy: NsProxy, field
58 let mut nsproxy = NsProxy::new(); in create_new_namespaces() localVariable
68 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()
H A Dsyscall.rs33 if let Some(nsproxy) = unshare_nsproxy_namespaces(unshare_flags)? { in sys_unshare()
34 *current.get_nsproxy().write() = nsproxy; in sys_unshare()
H A Dmnt_namespace.rs122 let nsproxy = &mut nsset.nsproxy; in install() localVariable
127 nsproxy.mnt_namespace = mnt_ns; in install()
H A Dnamespace.rs105 nsproxy: create_new_namespaces(flags, &current, USER_NS.clone())?, in prepare_nsset()
118 switch_task_namespace(current, nsset.nsproxy); // 转移所有权 in commit_nsset()
H A Dpid_namespace.rs191 let nsproxy = &mut nsset.nsproxy; in install() localVariable
209 nsproxy.pid_namespace = pid_ns.clone(); in install()
/DragonOS/docs/kernel/container/namespaces/
H A Dmnt_namespace.md5 pcb -> nsproxy -> mnt_namespace
H A Dpid_namespace.md11 pcb -> nsproxy -> pid_namespace
/DragonOS/kernel/src/process/
H A Dmod.rs666 nsproxy: Arc<RwLock<NsProxy>>, field
754 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()
H A Dfork.rs285 *new_pcb.nsproxy.write() = new_nsproxy; in copy_namespaces()