summaryrefslogtreecommitdiff
path: root/libc-test
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-30 01:15:53 +0000
committerbors <bors@rust-lang.org>2022-09-30 01:15:53 +0000
commitd99c37d97c7a075ffc7f4260f2dd134d1ee3daaa (patch)
treec6e14ed3a60e9d9e672a97b6a923ef6e34669a72 /libc-test
parent5ffe00e1d34bc0cf056a515e71c5a68e22c46209 (diff)
parent2bd3e499a79afa9b786d9859c5dfb4446ae22286 (diff)
downloadrust-libc-d99c37d97c7a075ffc7f4260f2dd134d1ee3daaa.tar.gz
Auto merge of #2923 - devnexen:ptrace_another_update, r=JohnTitor
linux add ptrace_rseq_configuration
Diffstat (limited to 'libc-test')
-rw-r--r--libc-test/build.rs3
-rw-r--r--libc-test/semver/linux-gnu-x86_64.txt2
2 files changed, 5 insertions, 0 deletions
diff --git a/libc-test/build.rs b/libc-test/build.rs
index d1718454e4..0e56050b00 100644
--- a/libc-test/build.rs
+++ b/libc-test/build.rs
@@ -3068,6 +3068,7 @@ fn test_linux(target: &str) {
// FIXME: Unignore once we update Ubuntu to 22.04
"mallinfo2" if sparc64 => true,
+ "ptrace_rseq_configuration" if sparc64 => true,
_ => false,
}
@@ -3309,6 +3310,8 @@ fn test_linux(target: &str) {
| "IFLA_PERM_ADDRESS"
| "IFLA_PROTO_DOWN_REASON"
if sparc64 => true,
+ // Added in Linux 5.13
+ "PTRACE_GET_RSEQ_CONFIGURATION" if sparc64 => true,
_ => false,
}
diff --git a/libc-test/semver/linux-gnu-x86_64.txt b/libc-test/semver/linux-gnu-x86_64.txt
index dfe109307f..604f7d845e 100644
--- a/libc-test/semver/linux-gnu-x86_64.txt
+++ b/libc-test/semver/linux-gnu-x86_64.txt
@@ -19,12 +19,14 @@ NFT_MSG_NEWOBJ
PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP
PTHREAD_ERRORCHECK_MUTEX_INITIALIZER_NP
PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP
+PTRACE_GET_RSEQ_CONFIGURATION
PTRACE_SYSEMU
PTRACE_SYSEMU_SINGLESTEP
_libc_fpstate
flock64
getcontext
makecontext
+ptrace_rseq_configuration
setcontext
swapcontext
termios2