We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 48193e8 commit 7364369Copy full SHA for 7364369
libc-test/build.rs
@@ -2266,6 +2266,8 @@ fn test_linux(target: &str) {
2266
// Require Linux kernel 5.x:
2267
| "MSG_COPY"
2268
if musl => true,
2269
+ // Require Linux kernel 5.1:
2270
+ "F_SEAL_FUTURE_WRITE" => true,
2271
2272
// The musl version 1.0.22 used in CI does not
2273
// contain these glibc constants yet:
src/unix/notbsd/linux/mod.rs
@@ -1050,6 +1050,8 @@ pub const F_TEST: ::c_int = 3;
1050
pub const F_TLOCK: ::c_int = 2;
1051
pub const F_ULOCK: ::c_int = 0;
1052
1053
+pub const F_SEAL_FUTURE_WRITE: ::c_int = 0x0010;
1054
+
1055
pub const IFF_LOWER_UP: ::c_int = 0x10000;
1056
pub const IFF_DORMANT: ::c_int = 0x20000;
1057
pub const IFF_ECHO: ::c_int = 0x40000;
0 commit comments