summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2021-08-20 15:22:10 +0000
committerbors <bors@rust-lang.org>2021-08-20 15:22:10 +0000
commit4fbc1b47d1887fe786bef74dfaf60a4db318aa80 (patch)
tree58acee1c3839e07a96b53be06eefe8f0de615c1e /libc-test
parent99f7e2f5a5905f1bc0d66dd6bcfcb3deba085a64 (diff)
parent0dc6e309e0a06033b64facab63ebafc615c43e56 (diff)
downloadrust-libc-4fbc1b47d1887fe786bef74dfaf60a4db318aa80.tar.gz
Auto merge of #2293 - devnexen:system_prop_api_android, r=JohnTitor
android system prop api update.
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/android-aarch64.txt1
-rw-r--r--libc-test/semver/android.txt8
3 files changed, 12 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index d8fc16c940..e491cb39d1 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -1598,6 +1598,8 @@ fn test_android(target: &str) {
"termios2" => true,
// uc_sigmask and uc_sigmask64 of ucontext_t are an anonymous union
"ucontext_t" => true,
+ // 'private' type
+ "prop_info" => true,
_ => false,
}
@@ -1647,6 +1649,7 @@ fn test_android(target: &str) {
// test the XSI version below.
"strerror_r" => true,
"reallocarray" => true,
+ "__system_property_wait" => true,
_ => false,
}
diff --git a/libc-test/semver/android-aarch64.txt b/libc-test/semver/android-aarch64.txt
index 757a953c94..4e706c9db2 100644
--- a/libc-test/semver/android-aarch64.txt
+++ b/libc-test/semver/android-aarch64.txt
@@ -10,3 +10,4 @@ HWCAP2_SVESM4
SYS_arch_specific_syscall
SYS_syscalls
SYS_fcntl
+__system_property_wait
diff --git a/libc-test/semver/android.txt b/libc-test/semver/android.txt
index 0f291179cf..94d7bd7882 100644
--- a/libc-test/semver/android.txt
+++ b/libc-test/semver/android.txt
@@ -1621,6 +1621,8 @@ PRIO_PGRP
PRIO_PROCESS
PRIO_USER
PROC_SUPER_MAGIC
+PROP_NAME_MAX
+PROP_VALUE_MAX
PROT_EXEC
PROT_GROWSDOWN
PROT_GROWSUP
@@ -2562,6 +2564,11 @@ __kernel_pid_t
__sched_cpualloc
__sched_cpucount
__sched_cpufree
+__system_property_find
+__system_property_find_nth
+__system_property_foreach
+__system_property_get
+__system_property_set
_exit
abort
accept
@@ -2939,6 +2946,7 @@ prlimit
prlimit64
process_vm_readv
process_vm_writev
+prop_info
protoent
pselect
pthread_atfork