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

# es_event_mprotect_t

A type for an event that indicates a change to protection of memory-mapped pages.

```
struct es_event_mprotect_t
```

## Topics

### Inspecting Event Properties

[`address`](/documentation/EndpointSecurity/es_event_mprotect_t/address)

The starting memory address to protect.

[`size`](/documentation/EndpointSecurity/es_event_mprotect_t/size)

The length of the address range to protect.

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

The protection to apply to the memory-mapped range.

[`reserved`](/documentation/EndpointSecurity/es_event_mprotect_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)