Searched refs:cwd (Results 1 – 4 of 4) sorted by relevance
/DragonOS/kernel/src/filesystem/vfs/ |
H A D | utils.rs | 68 let mut cwd = pcb.basic().cwd(); in user_path_at() localVariable 69 cwd.push('/'); in user_path_at() 70 cwd.push_str(path); in user_path_at() 71 ret_path = cwd; in user_path_at()
|
H A D | syscall.rs | 703 let cwd = match path.as_bytes()[0] { in chdir() localVariable 705 _ => proc.basic().cwd(), in chdir() 707 let mut cwd_vec: Vec<_> = cwd.split('/').filter(|&x| !x.is_empty()).collect(); in chdir() 752 let cwd = proc.basic().cwd(); in getcwd() localVariable 754 let cwd_bytes = cwd.as_bytes(); in getcwd()
|
/DragonOS/kernel/src/process/ |
H A D | mod.rs | 708 let (pid, ppid, cwd, cred, tty) = if is_idle { in do_create_pcb() 716 let cwd = ProcessManager::current_pcb().basic().cwd(); in do_create_pcb() localVariable 718 (Self::generate_pid(), ppid, cwd, cred, tty) in do_create_pcb() 721 let basic_info = ProcessBasicInfo::new(Pid(0), ppid, Pid(0), name, cwd, None); in do_create_pcb() 1114 cwd: String, field 1130 cwd: String, in new() 1139 cwd, in new() 1165 pub fn cwd(&self) -> String { in cwd() method 1166 return self.cwd.clone(); in cwd() 1169 return self.cwd = path; in set_cwd()
|
/DragonOS/docs/community/ChangeLog/V0.1.x/ |
H A D | V0.1.9.md | 1954 * 新建进程时,设置cwd 2040 * 新建进程时,设置cwd
|