Skip to content

Commit 5915466

Browse files
committed
Fixes #2365 by adding the MREMAP_DONTUNMAP flag
1 parent 2cffe84 commit 5915466

File tree

1 file changed

+1
-0
lines changed
  • src/unix/linux_like/linux

1 file changed

+1
-0
lines changed

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1598,6 +1598,7 @@ cfg_if! {
15981598

15991599
pub const MREMAP_MAYMOVE: ::c_int = 1;
16001600
pub const MREMAP_FIXED: ::c_int = 2;
1601+
pub const MREMAP_DONTUNMAP: ::c_int = 4;
16011602

16021603
pub const PR_SET_PDEATHSIG: ::c_int = 1;
16031604
pub const PR_GET_PDEATHSIG: ::c_int = 2;

0 commit comments

Comments
 (0)