File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -42,6 +42,8 @@ This project adheres to [Semantic Versioning](https://semver.org/).
42
42
(#[ 1516] ( https://github.com/nix-rust/nix/pull/1516 ) )
43
43
- Added ` Ipv4Ttl ` and ` Ipv6Ttl ` sockopts.
44
44
(#[ 1515] ( https://github.com/nix-rust/nix/pull/1515 ) )
45
+ - Added ` MAP_EXCL ` mmap flag for freebsd.
46
+ (#[ 1525] ( https://github.com/nix-rust/nix/pull/1525 ) )
45
47
46
48
### Changed
47
49
Original file line number Diff line number Diff line change @@ -40,6 +40,10 @@ libc_bitflags!{
40
40
MAP_PRIVATE ;
41
41
/// Place the mapping at exactly the address specified in `addr`.
42
42
MAP_FIXED ;
43
+ /// To be used with `MAP_FIXED`, to forbid the system
44
+ /// to select a different address than the one specified.
45
+ #[ cfg( target_os = "freebsd" ) ]
46
+ MAP_EXCL ;
43
47
/// Synonym for `MAP_ANONYMOUS`.
44
48
MAP_ANON ;
45
49
/// The mapping is not backed by any file.
You can’t perform that action at this time.
0 commit comments