Changes:
* Add kqueue1 to NetBSD
* Add Android items from "sys/system_properties.h"
* Add new header to the android header files list
* Add dl_iterate_phdr to Android
* Update dl_phdr_info definition to more closely match header files
* linux: add syncfs(2)
* Add macos clonefile functions
* Add RLIM_NLIMITS constant as alias of RLIMIT_NLIMITS on linux_like
* Add RLIM_NLIMITS on android
* Unified Linux TCP socket options
Add regression test infrastructure
Please the commit messages for details.
I still need to add lists for the following targets, but I got the major ones I think.
TODO:
* aarch64-unknown-hermit
* x86_64-unknown-hermit
* x86_64-pc-solaris
* x86_64-sun-solaris
* sparcv9-sun-solaris
* x86_64-fortanix-unknown-sgx
* x86_64-unknown-illumos
* asmjs-unknown-emscripten
* wasm32-unknown-emscripten
* wasm32-unknown-unknown
* wasm32-wasi
* Check symbols added after commit ed45c2649b.
TODO: add a bit to the contributing guide about adding to these lists.
Closes#2104.
Fixes it for at least the following targets:
* aarch64-unknown-linux-gnu
* arm-linux-androideabi
* arm-unknown-linux-gnueabihf
* arm-unknown-linux-gnueabihf
* arm-unknown-linux-musleabihf
One would expect Android to include the Unix and Linux lists, as it's
Linux based. However because Android is missing too many definitions I
found it easier to create a fully separate list for Android
specifically.
This first step add the infrastructure to test if libc follows semantic
versioning.
In the build step it creates a test file which imports all functions,
constants, etc. that are expected to be public. This file is generated
from the files in the (not yet included) semver directory. These files
include the function and constants expected to be public per target
family, vendor, OS, etc.
See the do_semver function in the build file of libc-test for the
details.
Skip definitions from the kernel on non-glibc Linux targets.
They're libc-independent, so we only need to check them on one
libc. We don't want to break CI if musl or another libc doesn't
have the definitions yet. (We do still want to check them on
every glibc target, though, as some of them can vary by
architecture.)
Update to the latest WASI libc, define `AT_FDCWD`, update the signature
for __wasilibc_find_relpath, and add declarations for various
`__wasilibc_` utility functions.