Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sys::mman adding MMAP_TRYFIXED for netbsdlike platforms. #2260

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

devnexen
Copy link
Contributor

No description provided.

@devnexen devnexen force-pushed the mman_netbsdlike branch 2 times, most recently from 3814872 to 418a2d5 Compare December 10, 2023 14:14
src/sys/mman.rs Outdated
@@ -154,6 +154,10 @@ libc_bitflags! {
/// Pages will be discarded in the core dumps.
#[cfg(target_os = "openbsd")]
MAP_CONCEAL;
/// Attempt to place the mapping at exactly the address specified in `addr`.
/// it's a default behavior on openbsd.
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nit: Might be better if we change it to:

Suggested change
/// it's a default behavior on openbsd.
/// It's the default behavior on OpenBSD.

@SteveLauC SteveLauC added this pull request to the merge queue Dec 11, 2023
Merged via the queue into nix-rust:master with commit 8db0701 Dec 11, 2023
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants