diff --git a/libc-test/semver/linux.txt b/libc-test/semver/linux.txt index a40a31caf9294..087b1fc10c586 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 947aca87bc1c4..743927e5172f2 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;