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 @@ -2130,6 +2130,8 @@ fn test_linux(target: &str) {
2130
2130
// Require Linux kernel 5.x:
2131
2131
| "MSG_COPY"
2132
2132
if musl => true ,
2133
+ // Require Linux kernel 5.1:
2134
+ "F_SEAL_FUTURE_WRITE" => true ,
2133
2135
2134
2136
// The musl version 1.0.22 used in CI does not
2135
2137
// contain these glibc constants yet:
Original file line number Diff line number Diff line change @@ -1082,6 +1082,8 @@ pub const F_TEST: ::c_int = 3;
1082
1082
pub const F_TLOCK : :: c_int = 2 ;
1083
1083
pub const F_ULOCK : :: c_int = 0 ;
1084
1084
1085
+ pub const F_SEAL_FUTURE_WRITE : :: c_int = 0x0010 ;
1086
+
1085
1087
pub const IFF_LOWER_UP : :: c_int = 0x10000 ;
1086
1088
pub const IFF_DORMANT : :: c_int = 0x20000 ;
1087
1089
pub const IFF_ECHO : :: c_int = 0x40000 ;
You can’t perform that action at this time.
0 commit comments