Skip to content

Commit

Permalink
Add AT_SYSINFO_EHDR constant for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Phantomical committed Dec 5, 2022
1 parent ce5afa7 commit ce9ab41
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions libc-test/semver/linux.txt
Expand Up @@ -181,6 +181,7 @@ AT_SECURE
AT_SYMLINK_FOLLOW
AT_SYMLINK_NOFOLLOW
AT_UID
AT_SYSINFO_EHDR
B1000000
B1152000
B1500000
Expand Down
4 changes: 4 additions & 0 deletions src/unix/linux_like/linux/mod.rs
Expand Up @@ -1583,6 +1583,10 @@ pub const AT_HWCAP2: ::c_ulong = 26;

pub const AT_EXECFN: ::c_ulong = 31;

// defined in arch/<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;
Expand Down

0 comments on commit ce9ab41

Please sign in to comment.