diff options
author | David CARLIER <devnexen@gmail.com> | 2023-04-20 22:19:21 +0100 |
---|---|---|
committer | David CARLIER <devnexen@gmail.com> | 2023-04-20 22:19:21 +0100 |
commit | 44325c40ec51da149712d30ccddc02e6853a5570 (patch) | |
tree | 6596ea279bcaddc584cf2a5e52b23c59c5979fa3 | |
parent | e4cccf92421e5a8a2bf56fed9bd4278eda1f7907 (diff) | |
download | rust-libc-44325c40ec51da149712d30ccddc02e6853a5570.tar.gz |
freebsd add elf_aux_info constants
-rw-r--r-- | libc-test/semver/freebsd.txt | 8 | ||||
-rw-r--r-- | src/unix/bsd/freebsdlike/freebsd/mod.rs | 9 |
2 files changed, 17 insertions, 0 deletions
diff --git a/libc-test/semver/freebsd.txt b/libc-test/semver/freebsd.txt index 5776e8a421..142f7b2d87 100644 --- a/libc-test/semver/freebsd.txt +++ b/libc-test/semver/freebsd.txt @@ -84,6 +84,7 @@ ATF_PERM ATF_PUBL ATF_USETRAILERS AT_BASE +AT_CANARY AT_EACCESS AT_EGID AT_EMPTY_PATH @@ -93,8 +94,13 @@ AT_EXECPATH AT_FDCWD AT_FLAGS AT_GID +AT_HWCAP +AT_HWCAP2 +AT_NCPUS AT_NOTELF AT_NULL +AT_OSRELDATE +AT_PAGESIZES AT_PAGESZ AT_PHDR AT_PHENT @@ -103,6 +109,8 @@ AT_REMOVEDIR AT_RESOLVE_BENEATH AT_SYMLINK_FOLLOW AT_SYMLINK_NOFOLLOW +AT_USRSTACKBASE +AT_USRSTACKLIM AT_UID B14400 B28800 diff --git a/src/unix/bsd/freebsdlike/freebsd/mod.rs b/src/unix/bsd/freebsdlike/freebsd/mod.rs index 2ee676d973..01a3bf9db8 100644 --- a/src/unix/bsd/freebsdlike/freebsd/mod.rs +++ b/src/unix/bsd/freebsdlike/freebsd/mod.rs @@ -3767,6 +3767,15 @@ pub const AT_EUID: ::c_int = 12; pub const AT_GID: ::c_int = 13; pub const AT_EGID: ::c_int = 14; pub const AT_EXECPATH: ::c_int = 15; +pub const AT_CANARY: ::c_int = 16; +pub const AT_OSRELDATE: ::c_int = 18; +pub const AT_NCPUS: ::c_int = 19; +pub const AT_PAGESIZES: ::c_int = 20; +pub const AT_TIMEKEEP: ::c_int = 22; +pub const AT_HWCAP: ::c_int = 25; +pub const AT_HWCAP2: ::c_int = 26; +pub const AT_USRSTACKBASE: ::c_int = 35; +pub const AT_USRSTACKLIM: ::c_int = 36; pub const TABDLY: ::tcflag_t = 0x00000004; pub const TAB0: ::tcflag_t = 0x00000000; |