Function cros_tracing::trace_marker::push_descriptors_internal
source · pub fn push_descriptors_internal(keep_rds: &mut Vec<RawDescriptor>)
Expand description
Platform-specific implementation of the push_descriptors!
macro. If the
trace_marker
file has been initialized properly, it adds its file descriptor
to the list of file descriptors that are allowed to be accessed when the process
is jailed in the sandbox.
§Arguments
keep_rds
- List of file descriptors that will be accessible after jailing