diff options
author | David Carlier <devnexen@gmail.com> | 2021-09-19 11:48:31 +0100 |
---|---|---|
committer | David Carlier <devnexen@gmail.com> | 2021-09-19 11:48:31 +0100 |
commit | 3d03ff31d0eeeddb8e9f17135c35e3f1fc61efde (patch) | |
tree | 468405fc1027e4d1589f248f1d2d2764346fa981 | |
parent | f0d6d0406d8e763619aecac062d1d2b56ca6e7b2 (diff) | |
download | nix-3d03ff31d0eeeddb8e9f17135c35e3f1fc61efde.zip |
mman MAP_JIT flag documentation.
-rw-r--r-- | src/sys/mman.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sys/mman.rs b/src/sys/mman.rs index e3c36208..4ee36684 100644 --- a/src/sys/mman.rs +++ b/src/sys/mman.rs @@ -138,6 +138,7 @@ libc_bitflags!{ /// Pages in this mapping are not retained in the kernel's memory cache. #[cfg(any(target_os = "ios", target_os = "macos"))] MAP_NOCACHE; + /// Allows the W/X bit on the page, it's necessary on aarch64 architecture. #[cfg(any(target_os = "ios", target_os = "macos"))] MAP_JIT; } |