summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2022-02-26 14:34:44 +0000
committerDavid Carlier <devnexen@gmail.com>2022-02-26 14:34:44 +0000
commit3044f1bc845741585caa2810bb4baba7a3a94ca7 (patch)
tree89454a0eec5f022e468559be1bc8a16abfed9a27 /libc-test
parentde9e47704c2e0a4ddb15ba77d45f4480c44afea8 (diff)
downloadrust-libc-3044f1bc845741585caa2810bb4baba7a3a94ca7.tar.gz
linux glibc add getentropy.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/linux-gnu.txt1
2 files changed, 4 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index bc2e8ad7fe..cca78590c7 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1759,6 +1759,9 @@ fn test_android(target: &str) {
// Added in API level 30, but tests use level 28.
"mlock2" => true,
+ // Added in glibc 2.25.
+ "getentropy" => true,
+
_ => false,
}
});
diff --git a/libc-test/semver/linux-gnu.txt b/libc-test/semver/linux-gnu.txt
index 423c023c2a..7a65d3645c 100644
--- a/libc-test/semver/linux-gnu.txt
+++ b/libc-test/semver/linux-gnu.txt
@@ -584,6 +584,7 @@ explicit_bzero
fgetspent_r
futimes
getauxval
+getentropy
getgrent_r
getloadavg
getpt