Skip to content

Commit

Permalink
mman add MAP_CONCEAL mmap flag for openbsd
Browse files Browse the repository at this point in the history
  • Loading branch information
devnexen committed Sep 19, 2021
1 parent f0d6d04 commit d11d5a0
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/sys/mman.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,6 +140,9 @@ libc_bitflags!{
MAP_NOCACHE;
#[cfg(any(target_os = "ios", target_os = "macos"))]
MAP_JIT;
/// Pages will be discarded in the core dumps.
#[cfg(target_os = "openbsd")]
MAP_CONCEAL;
}
}

Expand Down

0 comments on commit d11d5a0

Please sign in to comment.