Skip to main content

launched_image

Function launched_image 

Source
pub fn launched_image(command: &Command) -> Option<LaunchImage>
Expand description

The guest’s first image, as its /proc/self/exe link names it (detcore::Config::launch_image): the program the launch executes, found as the launch finds it, then resolved as the kernel resolves an execve (detcore::exec_record::ExecRecord::resolve). Read in the container, whose root is the guest’s. A launch through a launcher names it itself (run_sabre). None when it cannot be found, which leaves the link to the kernel, and the launch reports the missing program itself.