We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 927ccfd + 7364369 commit c9fbd00Copy full SHA for c9fbd00
libc-test/build.rs
@@ -2130,6 +2130,8 @@ fn test_linux(target: &str) {
2130
// Require Linux kernel 5.x:
2131
| "MSG_COPY"
2132
if musl => true,
2133
+ // Require Linux kernel 5.1:
2134
+ "F_SEAL_FUTURE_WRITE" => true,
2135
2136
// The musl version 1.0.22 used in CI does not
2137
// contain these glibc constants yet:
src/unix/notbsd/linux/mod.rs
@@ -1082,6 +1082,8 @@ pub const F_TEST: ::c_int = 3;
1082
pub const F_TLOCK: ::c_int = 2;
1083
pub const F_ULOCK: ::c_int = 0;
1084
1085
+pub const F_SEAL_FUTURE_WRITE: ::c_int = 0x0010;
1086
+
1087
pub const IFF_LOWER_UP: ::c_int = 0x10000;
1088
pub const IFF_DORMANT: ::c_int = 0x20000;
1089
pub const IFF_ECHO: ::c_int = 0x40000;
0 commit comments