File tree Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Expand file tree Collapse file tree 3 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -652,6 +652,10 @@ fn main() {
652
652
"BOTHER" => true ,
653
653
654
654
"MFD_CLOEXEC" | "MFD_ALLOW_SEALING" if !mips && musl => true ,
655
+ // MFD_HUGETLB is not available in some older libc versions on the CI builders. On the
656
+ // x86_64 and i686 builders it seems to be available for all targets, so at least test
657
+ // it there.
658
+ "MFD_HUGETLB" if !( x86_64 || i686) || musl => true ,
655
659
656
660
"DT_FIFO" | "DT_CHR" | "DT_DIR" | "DT_BLK" | "DT_REG"
657
661
| "DT_LNK" | "DT_SOCK"
Original file line number Diff line number Diff line change @@ -1056,6 +1056,7 @@ pub const O_TMPFILE: ::c_int = 0o20000000 | O_DIRECTORY;
1056
1056
1057
1057
pub const MFD_CLOEXEC : :: c_uint = 0x0001 ;
1058
1058
pub const MFD_ALLOW_SEALING : :: c_uint = 0x0002 ;
1059
+ pub const MFD_HUGETLB : :: c_uint = 0x0004 ;
1059
1060
1060
1061
// linux/netfilter.h
1061
1062
pub const NF_DROP : :: c_int = 0 ;
Original file line number Diff line number Diff line change @@ -1320,6 +1320,7 @@ pub const CMSPAR: ::tcflag_t = 0o10000000000;
1320
1320
1321
1321
pub const MFD_CLOEXEC : :: c_uint = 0x0001 ;
1322
1322
pub const MFD_ALLOW_SEALING : :: c_uint = 0x0002 ;
1323
+ pub const MFD_HUGETLB : :: c_uint = 0x0004 ;
1323
1324
1324
1325
// these are used in the p_type field of Elf32_Phdr and Elf64_Phdr, which has
1325
1326
// the type Elf32Word and Elf64Word respectively. Luckily, both of those are u32
You can’t perform that action at this time.
0 commit comments