Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4183,7 +4183,9 @@ fn test_linux(target: &str) {
| "F_SEAL_SEAL"
| "F_SEAL_SHRINK"
| "F_SEAL_GROW"
| "F_SEAL_WRITE" => true,
| "F_SEAL_WRITE"
| "F_SEAL_FUTURE_WRITE"
| "F_SEAL_EXEC" => true,
// The `ARPHRD_CAN` is tested in the `linux_if_arp.rs` tests
// because including `linux/if_arp.h` causes some conflicts:
"ARPHRD_CAN" => true,
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/android.txt
Original file line number Diff line number Diff line change
Expand Up @@ -685,6 +685,7 @@ F_OFD_SETLK
F_OFD_SETLKW
F_OK
F_RDLCK
F_SEAL_EXEC
F_SEAL_GROW
F_SEAL_SEAL
F_SEAL_SHRINK
Expand Down
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Original file line number Diff line number Diff line change
Expand Up @@ -864,6 +864,7 @@ F_OFD_GETLK
F_OFD_SETLK
F_OFD_SETLKW
F_RDLCK
F_SEAL_EXEC
F_SEAL_FUTURE_WRITE
F_SEAL_GROW
F_SEAL_SEAL
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/android/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1263,6 +1263,7 @@ pub const F_TLOCK: c_int = 2;
pub const F_ULOCK: c_int = 0;

pub const F_SEAL_FUTURE_WRITE: c_int = 0x0010;
pub const F_SEAL_EXEC: c_int = 0x0020;

pub const IFF_LOWER_UP: c_int = 0x10000;
pub const IFF_DORMANT: c_int = 0x20000;
Expand Down
1 change: 1 addition & 0 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2731,6 +2731,7 @@ pub const F_TLOCK: c_int = 2;
pub const F_ULOCK: c_int = 0;

pub const F_SEAL_FUTURE_WRITE: c_int = 0x0010;
pub const F_SEAL_EXEC: c_int = 0x0020;

pub const IFF_LOWER_UP: c_int = 0x10000;
pub const IFF_DORMANT: c_int = 0x20000;
Expand Down