File tree 2 files changed +7
-0
lines changed
2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change @@ -2283,6 +2283,7 @@ fn test_linux(target: &str) {
2283
2283
2284
2284
// FIXME: conflicts with glibc headers and is tested in
2285
2285
// `linux_termios.rs` below:
2286
+
2286
2287
"BOTHER" => true ,
2287
2288
2288
2289
// FIXME: on musl the pthread types are defined a little differently
@@ -2293,6 +2294,10 @@ fn test_linux(target: &str) {
2293
2294
t if mips32_musl && t. starts_with ( "IFF" ) => true ,
2294
2295
"MFD_HUGETLB" | "AF_XDP" | "PF_XDP" if mips32_musl => true ,
2295
2296
2297
+ // FIXME: added in Linux 5.1 but not yet in glibc or musl. Enable in linux_fcntl tests
2298
+ // once available.
2299
+ "F_SEAL_FUTURE_WRITE" => true ,
2300
+
2296
2301
_ => false ,
2297
2302
}
2298
2303
} ) ;
Original file line number Diff line number Diff line change @@ -1050,6 +1050,8 @@ pub const F_TEST: ::c_int = 3;
1050
1050
pub const F_TLOCK : :: c_int = 2 ;
1051
1051
pub const F_ULOCK : :: c_int = 0 ;
1052
1052
1053
+ pub const F_SEAL_FUTURE_WRITE : :: c_int = 0x0010 ;
1054
+
1053
1055
pub const IFF_LOWER_UP : :: c_int = 0x10000 ;
1054
1056
pub const IFF_DORMANT : :: c_int = 0x20000 ;
1055
1057
pub const IFF_ECHO : :: c_int = 0x40000 ;
You can’t perform that action at this time.
0 commit comments