---
title: es_event_mprotect_t
framework: endpointsecurity
role: symbol
role_heading: Structure
path: endpointsecurity/es_event_mprotect_t
---

# es_event_mprotect_t

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

## Declaration

```swift
struct es_event_mprotect_t
```

## Topics

### Inspecting Event Properties

- [address](endpointsecurity/es_event_mprotect_t/address.md)
- [size](endpointsecurity/es_event_mprotect_t/size.md)
- [protection](endpointsecurity/es_event_mprotect_t/protection.md)
- [reserved](endpointsecurity/es_event_mprotect_t/reserved.md)

### Initializers

- [init()](endpointsecurity/es_event_mprotect_t/init().md)
- [init(protection:address:size:reserved:)](endpointsecurity/es_event_mprotect_t/init(protection:address:size:reserved:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Sendable](swift/sendable.md)

## See Also

### Memory Mapping Event Types

- [es_event_mmap_t](endpointsecurity/es_event_mmap_t.md)
