File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -2266,6 +2266,8 @@ fn test_linux(target: &str) {
2266
2266
// Require Linux kernel 5.x:
2267
2267
| "MSG_COPY"
2268
2268
if musl => true ,
2269
+ // Require Linux kernel 5.1:
2270
+ "F_SEAL_FUTURE_WRITE" => true ,
2269
2271
2270
2272
// The musl version 1.0.22 used in CI does not
2271
2273
// contain these glibc constants yet:
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