We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 916b82d commit 6618a72Copy full SHA for 6618a72
src/unix/notbsd/mod.rs
@@ -212,9 +212,17 @@ pub const F_SETFL: ::c_int = 4;
212
pub const F_SETLEASE: ::c_int = 1024;
213
pub const F_GETLEASE: ::c_int = 1025;
214
pub const F_NOTIFY: ::c_int = 1026;
215
+pub const F_CANCELLK: ::c_int = 1029;
216
pub const F_DUPFD_CLOEXEC: ::c_int = 1030;
217
pub const F_SETPIPE_SZ: ::c_int = 1031;
218
pub const F_GETPIPE_SZ: ::c_int = 1032;
219
+pub const F_ADD_SEALS: c_int = 1033;
220
+pub const F_GET_SEALS: c_int = 1034;
221
+
222
+pub const F_SEAL_SEAL: c_int = 0x0001;
223
+pub const F_SEAL_SHRINK: c_int = 0x0002;
224
+pub const F_SEAL_GROW: c_int = 0x0004;
225
+pub const F_SEAL_WRITE: c_int = 0x0008;
226
227
// TODO(#235): Include file sealing fcntls once we have a way to verify them.
228
0 commit comments