File tree 2 files changed +3
-2
lines changed
2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -1872,7 +1872,7 @@ fn test_emscripten(target: &str) {
1872
1872
"F_CANCELLK" | "F_ADD_SEALS" | "F_GET_SEALS" => true ,
1873
1873
// FIXME: is this necessary?
1874
1874
"F_SEAL_SEAL" | "F_SEAL_SHRINK" | "F_SEAL_GROW"
1875
- | "F_SEAL_WRITE" => true ,
1875
+ | "F_SEAL_WRITE" | "F_SEAL_FUTURE_WRITE" => true ,
1876
1876
// FIXME: is this necessary?
1877
1877
"BOTHER" => true ,
1878
1878
@@ -2382,7 +2382,7 @@ fn test_linux(target: &str) {
2382
2382
"F_CANCELLK" | "F_ADD_SEALS" | "F_GET_SEALS" => true ,
2383
2383
// FIXME: is this necessary?
2384
2384
"F_SEAL_SEAL" | "F_SEAL_SHRINK" | "F_SEAL_GROW"
2385
- | "F_SEAL_WRITE" => true ,
2385
+ | "F_SEAL_WRITE" | "F_SEAL_FUTURE_WRITE" => true ,
2386
2386
// FIXME: is this necessary?
2387
2387
"QFMT_VFS_OLD" | "QFMT_VFS_V0" | "QFMT_VFS_V1"
2388
2388
if mips =>
Original file line number Diff line number Diff line change @@ -465,6 +465,7 @@ pub const F_SEAL_SEAL: ::c_int = 0x0001;
465
465
pub const F_SEAL_SHRINK : :: c_int = 0x0002 ;
466
466
pub const F_SEAL_GROW : :: c_int = 0x0004 ;
467
467
pub const F_SEAL_WRITE : :: c_int = 0x0008 ;
468
+ pub const F_SEAL_FUTURE_WRITE : :: c_int = 0x0010 ;
468
469
469
470
// TODO(#235): Include file sealing fcntls once we have a way to verify them.
470
471
You can’t perform that action at this time.
0 commit comments