diff --git a/libc-test/semver/linux.txt b/libc-test/semver/linux.txt index 68bb3a0524d45..8151187df07a1 100644 --- a/libc-test/semver/linux.txt +++ b/libc-test/semver/linux.txt @@ -181,6 +181,7 @@ AT_SECURE AT_SYMLINK_FOLLOW AT_SYMLINK_NOFOLLOW AT_UID +AT_SYSINFO_EHDR B1000000 B1152000 B1500000 diff --git a/src/unix/linux_like/linux/mod.rs b/src/unix/linux_like/linux/mod.rs index f0a0820c3d3fc..f2efca23b60bf 100644 --- a/src/unix/linux_like/linux/mod.rs +++ b/src/unix/linux_like/linux/mod.rs @@ -1583,6 +1583,10 @@ pub const AT_HWCAP2: ::c_ulong = 26; pub const AT_EXECFN: ::c_ulong = 31; +// defined in arch//include/uapi/asm/auxvec.h but has the same value +// wherever it is defined. +pub const AT_SYSINFO_EHDR: ::c_ulong = 33; + pub const GLOB_ERR: ::c_int = 1 << 0; pub const GLOB_MARK: ::c_int = 1 << 1; pub const GLOB_NOSORT: ::c_int = 1 << 2;