Searched refs:proc_init_info (Results 1 – 1 of 1) sorted by relevance
78 let mut proc_init_info = ProcInitInfo::new(""); in switch_to_user() localVariable79 proc_init_info.envs.push(CString::new("PATH=/").unwrap()); in switch_to_user()80 proc_init_info.args = kenrel_cmdline_param_manager().init_proc_args(); in switch_to_user()81 proc_init_info.envs = kenrel_cmdline_param_manager().init_proc_envs(); in switch_to_user()90 &mut proc_init_info, in switch_to_user()102 if try_to_run_init_process(path, &mut proc_init_info, &mut trap_frame).is_ok() { in switch_to_user()111 drop(proc_init_info); in switch_to_user()120 proc_init_info: &mut ProcInitInfo, in try_to_run_init_process()123 proc_init_info.proc_name = CString::new(path).unwrap(); in try_to_run_init_process()124 proc_init_info.args.insert(0, CString::new(path).unwrap()); in try_to_run_init_process()[all …]