0.3.0: converge relibc to upstream 0.6.0 + Red Bear patches

This commit is contained in:
2026-07-06 19:13:08 +03:00
parent 1a0edd8eeb
commit 4ef7e57571
1466 changed files with 75236 additions and 13644 deletions
+9 -1
View File
@@ -1,4 +1,4 @@
use crate::platform::types::*;
use crate::platform::types::c_int;
pub const PROT_READ: c_int = 0x0001;
pub const PROT_WRITE: c_int = 0x0002;
@@ -7,3 +7,11 @@ pub const PROT_NONE: c_int = 0x0000;
pub const MAP_FIXED: c_int = 0x0010;
pub const MAP_FIXED_NOREPLACE: c_int = 0x100000;
pub const MAP_POPULATE: c_int = 0x008000;
pub const MAP_HUGETLB: c_int = 0x40000;
pub const MAP_NORESERVE: c_int = 0x4000;
pub const MADV_HUGEPAGE: c_int = 14;
pub const MADV_NOHUGEPAGE: c_int = 15;
pub const MADV_DONTDUMP: c_int = 16;
pub const MADV_DODUMP: c_int = 17;