pub struct PendingExec {
pub guest: Vec<u8>,
pub host: Vec<u8>,
pub restore: Option<(i32, u64, Vec<u8>, Vec<u8>)>,
pub enter: Option<(Arc<View>, Vec<u8>)>,
pub cmdline_prefix: Option<Vec<Vec<u8>>>,
}Expand description
The program a process is about to run through the exec shim.
Fields§
§guest: Vec<u8>Canonical guest path of the program.
host: Vec<u8>Host path handed to the kernel.
restore: Option<(i32, u64, Vec<u8>, Vec<u8>)>The path string rewritten in a vfork parent’s memory: its address,
the original bytes and the bytes written over them.
enter: Option<(Arc<View>, Vec<u8>)>The view the process enters at the real exec, with its working directory there (a nested proot or bwrap launch).
cmdline_prefix: Option<Vec<Vec<u8>>>What becomes TraceeInfo::cmdline_prefix.
Trait Implementations§
Source§impl Clone for PendingExec
impl Clone for PendingExec
Source§fn clone(&self) -> PendingExec
fn clone(&self) -> PendingExec
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for PendingExec
impl RefUnwindSafe for PendingExec
impl Send for PendingExec
impl Sync for PendingExec
impl Unpin for PendingExec
impl UnsafeUnpin for PendingExec
impl UnwindSafe for PendingExec
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more