Lines Matching refs:info
99 ForkLaunchInfo(const ProcessLaunchInfo &info);
119 [[noreturn]] static void ChildFunc(int error_fd, const ForkLaunchInfo &info) { in ChildFunc() argument
120 if (info.separate_process_group) { in ChildFunc()
125 for (const ForkFileAction &action : info.actions) { in ChildFunc()
144 if (!info.wd.empty() && 0 != ::chdir(info.wd.c_str())) in ChildFunc()
147 if (info.disable_aslr) in ChildFunc()
157 if (info.debug) { in ChildFunc()
182 if (fd > 2 && !info.has_action(fd) && fd != error_fd) in ChildFunc()
191 if (!info.has_action(fd) && fd != error_fd) in ChildFunc()
201 execve(info.argv[0], const_cast<char *const *>(info.argv), info.envp); in ChildFunc()
214 execve(info.argv[0], const_cast<char *const *>(info.argv), info.envp); in ChildFunc()
230 MakeForkActions(const ProcessLaunchInfo &info) { in MakeForkActions() argument
232 for (size_t i = 0; i < info.GetNumFileActions(); ++i) in MakeForkActions()
233 result.emplace_back(*info.GetFileActionAtIndex(i)); in MakeForkActions()
247 ForkLaunchInfo::ForkLaunchInfo(const ProcessLaunchInfo &info) in ForkLaunchInfo() argument
249 info.GetFlags().Test(eLaunchFlagLaunchInSeparateProcessGroup)), in ForkLaunchInfo()
250 debug(info.GetFlags().Test(eLaunchFlagDebug)), in ForkLaunchInfo()
251 disable_aslr(info.GetFlags().Test(eLaunchFlagDisableASLR)), in ForkLaunchInfo()
252 wd(info.GetWorkingDirectory().GetPath()), in ForkLaunchInfo()
253 argv(info.GetArguments().GetConstArgumentVector()), in ForkLaunchInfo()
254 envp(FixupEnvironment(info.GetEnvironment())), in ForkLaunchInfo()
255 actions(MakeForkActions(info)) {} in ForkLaunchInfo()