Home
last modified time | relevance | path

Searched refs:nsset (Results 1 – 5 of 5) sorted by relevance

/DragonOS/kernel/src/namespaces/
H A Dnamespace.rs21 fn install(&self, nsset: &mut NsSet, ns_common: Arc<NsCommon>) -> Result<(), SystemError>; in install()
109 pub fn commit_nsset(nsset: NsSet) { in commit_nsset()
110 let flags = CloneFlags::from_bits_truncate(nsset.flags); in commit_nsset()
114 let nsset_fs = nsset.fs.lock(); in commit_nsset()
118 switch_task_namespace(current, nsset.nsproxy); // 转移所有权 in commit_nsset()
H A Dsyscall.rs43 let nsset = prepare_nsset(flags)?; in sys_setns() localVariable
46 commit_nsset(nsset) in sys_setns()
H A Dmnt_namespace.rs119 nsset: &mut super::NsSet, in install()
122 let nsproxy = &mut nsset.nsproxy; in install()
129 nsset.fs.lock().set_pwd(ROOT_INODE()); in install()
130 nsset.fs.lock().set_root(ROOT_INODE()); in install()
H A Duser_namespace.rs84 nsset: &mut super::NsSet, in install()
H A Dpid_namespace.rs190 fn install(&self, nsset: &mut NsSet, ns_common: Arc<NsCommon>) -> Result<(), SystemError> { in install()
191 let nsproxy = &mut nsset.nsproxy; in install()