Skip to main content

is_same_host

Function is_same_host 

Source
pub fn is_same_host(
    local_hostname: &str,
    local_uid: u32,
    locator: &ShmLocator,
) -> bool
Expand description

Same-host match helper. The caller passes (local hostname, local uid) and a received ShmLocator; returns true when both match — i.e. we can mmap the segment.