Skip to content

mman: add MAP_EXCL flag for freebsd.#1525

Merged
bors[bot] merged 1 commit intonix-rust:masterfrom
devnexen:fbsd_map_excl
Sep 18, 2021
Merged

mman: add MAP_EXCL flag for freebsd.#1525
bors[bot] merged 1 commit intonix-rust:masterfrom
devnexen:fbsd_map_excl

Conversation

@devnexen
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

Could you please add a CHANGELOG entry too?

Comment thread src/sys/mman.rs Outdated
MAP_PRIVATE;
/// Place the mapping at exactly the address specified in `addr`.
MAP_FIXED;
/// To be used with MAP_FIXED context and will only succeeds if there is no existing mapping.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Suggested change
/// To be used with MAP_FIXED context and will only succeeds if there is no existing mapping.
/// To be used with `MAP_FIXED`, to forbid the system to select a different address than the one specified.

Copy link
Copy Markdown
Member

@asomers asomers left a comment

Choose a reason for hiding this comment

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

bors r+

@bors bors Bot merged commit 86fec80 into nix-rust:master Sep 18, 2021
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.

2 participants