<!--
{
  "availability" : [
    "macCatalyst: -",
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "EndpointSecurity",
  "identifier" : "/documentation/EndpointSecurity/es_event_mmap_t",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Endpoint Security"
    ],
    "preciseIdentifier" : "c:@SA@es_event_mmap_t"
  },
  "title" : "es_event_mmap_t"
}
-->

# es_event_mmap_t

A type for an event that indicates the mapping of memory to a file.

```
struct es_event_mmap_t
```

## Topics

### Inspecting Event Properties

[`source`](/documentation/EndpointSecurity/es_event_mmap_t/source)

The file to map memory into.

[`file_pos`](/documentation/EndpointSecurity/es_event_mmap_t/file_pos)

The offset into the memory-map file.

[`flags`](/documentation/EndpointSecurity/es_event_mmap_t/flags)

Flags that affect the behavior of the memory mapping operation.

[`max_protection`](/documentation/EndpointSecurity/es_event_mmap_t/max_protection)

The maximum value you can use for protection flags.

[`protection`](/documentation/EndpointSecurity/es_event_mmap_t/protection)

Options that affect the protection of mapped memory pages.

[`reserved`](/documentation/EndpointSecurity/es_event_mmap_t/reserved)

An unused field reserved for future use.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)