Skip to content

Commit cd3e973

Browse files
committed
linux_like: add F_SEAL_EXEC
This flag has been introduces in Linux kernel 6.3: torvalds/linux@6fd7353
1 parent c9a05b4 commit cd3e973

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

libc-test/semver/android.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -685,6 +685,7 @@ F_OFD_SETLK
685685
F_OFD_SETLKW
686686
F_OK
687687
F_RDLCK
688+
F_SEAL_EXEC
688689
F_SEAL_GROW
689690
F_SEAL_SEAL
690691
F_SEAL_SHRINK

libc-test/semver/linux.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -864,6 +864,7 @@ F_OFD_GETLK
864864
F_OFD_SETLK
865865
F_OFD_SETLKW
866866
F_RDLCK
867+
F_SEAL_EXEC
867868
F_SEAL_FUTURE_WRITE
868869
F_SEAL_GROW
869870
F_SEAL_SEAL

src/unix/linux_like/android/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1263,6 +1263,7 @@ pub const F_TLOCK: c_int = 2;
12631263
pub const F_ULOCK: c_int = 0;
12641264

12651265
pub const F_SEAL_FUTURE_WRITE: c_int = 0x0010;
1266+
pub const F_SEAL_EXEC: c_int = 0x0020;
12661267

12671268
pub const IFF_LOWER_UP: c_int = 0x10000;
12681269
pub const IFF_DORMANT: c_int = 0x20000;

src/unix/linux_like/linux/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2731,6 +2731,7 @@ pub const F_TLOCK: c_int = 2;
27312731
pub const F_ULOCK: c_int = 0;
27322732

27332733
pub const F_SEAL_FUTURE_WRITE: c_int = 0x0010;
2734+
pub const F_SEAL_EXEC: c_int = 0x0020;
27342735

27352736
pub const IFF_LOWER_UP: c_int = 0x10000;
27362737
pub const IFF_DORMANT: c_int = 0x20000;

0 commit comments

Comments
 (0)