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
3 changes: 3 additions & 0 deletions libc-test/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4486,6 +4486,9 @@ fn test_linux(target: &str) {
// FIXME(linux): Requires >= 6.9 kernel headers.
"AT_HWCAP3" | "AT_HWCAP4" => true,

// Linux 6.14
"AT_EXECVE_CHECK" => true,

_ => false,
}
});
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 @@ -163,6 +163,7 @@ AT_ENTRY
AT_EUID
AT_EXECFD
AT_EXECFN
AT_EXECVE_CHECK
AT_FDCWD
AT_FLAGS
AT_GID
Expand Down
3 changes: 3 additions & 0 deletions src/unix/linux_like/linux/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1420,6 +1420,9 @@ pub const IFF_LOWER_UP: c_int = 0x10000;
pub const IFF_DORMANT: c_int = 0x20000;
pub const IFF_ECHO: c_int = 0x40000;

// linux/fcntl.h
pub const AT_EXECVE_CHECK: c_int = 0x10000;

// linux/if_addr.h
pub const IFA_UNSPEC: c_ushort = 0;
pub const IFA_ADDRESS: c_ushort = 1;
Expand Down