---
title: mprotect
framework: endpointsecurity
role: symbol
role_heading: Instance Property
path: endpointsecurity/es_events_t/mprotect
---

# mprotect

Properties of an event that indicates a change to protection of memory-mapped pages.

## Declaration

```swift
var mprotect: es_event_mprotect_t { get set }
```

## See Also

### Memory Mapping Events

- [mmap](endpointsecurity/es_events_t/mmap.md)
