HomeFreeBSD

mprotect(): Change prototype to comply to POSIX.

Description

mprotect(): Change prototype to comply to POSIX.

Our mprotect() function seems to take a "const void *" address to the
pages whose permissions need to be adjusted. POSIX uses "void *". Simply
stick to the POSIX one to prevent us from writing unportable code.

PR: 211423 (exp-run)
Tested by: antoine@ (Thanks!)

Details

Provenance
edAuthored on
Parents
rS303698: MFC r303171: Fix per-connection L2 caching in fast path
Branches
Unknown
Tags
Unknown