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. Caller passes (lokaler hostname, lokaler uid) und einen empfangenen ShmLocator; liefert true wenn beides uebereinstimmt — d.h. wir koennen mmap auf das Segment.