BSD syscall#74
svc · unix #74
mprotect
Changes the protection flags (RWX) of a memory region.
Prototype
int mprotect(caddr_t addr, size_t len, int prot);Returns: int
Arguments
| Name | Type | Dir | Description |
|---|---|---|---|
| addr | caddr_t | - | |
| len | size_t | - | |
| prot | int | - |
Version history
| XNU tag | macOS | # |
|---|---|---|
| xnu-1456.1.26 | macOS 10.6 Snow Leopard | 74 |
| xnu-1486.2.11 | — | 74 |
| xnu-1504.15.3 | — | 74 |
| xnu-1504.3.12 | — | 74 |
| xnu-1504.7.4 | — | 74 |
| xnu-1504.9.17 | — | 74 |
| xnu-1504.9.26 | — | 74 |
| xnu-1504.9.37 | — | 74 |
Notes
No prose documentation yet.