#[repr(C)]pub struct ubpf_safe_region {
pub id: u32,
pub __bindgen_padding_0: [u8; 4],
pub base: *mut c_void,
pub size: u64,
pub kind: ubpf_safe_region_kind,
pub permissions: u32,
}Expand description
@brief Descriptor for an external region known to the safe execution profile.
Safe-mode pointers carry a specific region identity, bounds, and permissions. Regions registered through this descriptor provide the metadata needed to classify helper returns and relocated addresses.
Fields§
§id: u32§__bindgen_padding_0: [u8; 4]§base: *mut c_void§size: u64§kind: ubpf_safe_region_kind§permissions: u32Trait Implementations§
Source§impl Clone for ubpf_safe_region
impl Clone for ubpf_safe_region
Source§fn clone(&self) -> ubpf_safe_region
fn clone(&self) -> ubpf_safe_region
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 moreimpl Copy for ubpf_safe_region
Source§impl Debug for ubpf_safe_region
impl Debug for ubpf_safe_region
Auto Trait Implementations§
impl !Send for ubpf_safe_region
impl !Sync for ubpf_safe_region
impl Freeze for ubpf_safe_region
impl RefUnwindSafe for ubpf_safe_region
impl Unpin for ubpf_safe_region
impl UnsafeUnpin for ubpf_safe_region
impl UnwindSafe for ubpf_safe_region
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