File tree Expand file tree Collapse file tree 3 files changed +5
-0
lines changed
src/unix/linux_like/linux Expand file tree Collapse file tree 3 files changed +5
-0
lines changed Original file line number Diff line number Diff line change @@ -4246,6 +4246,9 @@ fn test_linux(target: &str) {
42464246 "EPIOCSPARAMS"
42474247 | "EPIOCGPARAMS" => true ,
42484248
4249+ // FIXME: Requires >= 6.11 kernel headers.
4250+ "MAP_DROPPABLE" => true ,
4251+
42494252 _ => false ,
42504253 }
42514254 } ) ;
Original file line number Diff line number Diff line change @@ -1586,6 +1586,7 @@ MADV_UNMERGEABLE
15861586MADV_WILLNEED
15871587MADV_WIPEONFORK
15881588MAP_DENYWRITE
1589+ MAP_DROPPABLE
15891590MAP_EXECUTABLE
15901591MAP_FILE
15911592MAP_FIXED_NOREPLACE
Original file line number Diff line number Diff line change @@ -4767,6 +4767,7 @@ pub const UDP_NO_CHECK6_RX: c_int = 102;
47674767
47684768// include/uapi/linux/mman.h
47694769pub const MAP_SHARED_VALIDATE : c_int = 0x3 ;
4770+ pub const MAP_DROPPABLE : c_int = 0x8 ;
47704771
47714772// include/uapi/asm-generic/mman-common.h
47724773pub const MAP_FIXED_NOREPLACE : c_int = 0x100000 ;
You can’t perform that action at this time.
0 commit comments