pub(crate) fn exec_name<'a>(
user_path: &'a [u8],
guest_prog: &'a [u8],
) -> &'a [u8] ⓘExpand description
The name the kernel would give a process exec’d as user_path: the last
component of that path, or of guest_prog when the path is empty
(execveat of a descriptor) or ends in a slash.
§Arguments
user_path- Program path as the tracee passed it.guest_prog- Canonical guest path of what will run.