diff options
author | Joseph Myers <joseph@codesourcery.com> | 2021-08-09 16:51:38 +0000 |
---|---|---|
committer | Joseph Myers <joseph@codesourcery.com> | 2021-08-09 16:51:38 +0000 |
commit | 98149b16d645e9644a8e9b3d1f4b7932b9b193c5 (patch) | |
tree | 485baa22fe5b8f1cbcc222b150e38a6821585b09 /sysdeps/unix/sysv/linux/aarch64 | |
parent | b805aebd42364fe696e417808a700fdb9800c9e8 (diff) | |
download | glibc-98149b16d645e9644a8e9b3d1f4b7932b9b193c5.zip glibc-98149b16d645e9644a8e9b3d1f4b7932b9b193c5.tar.gz glibc-98149b16d645e9644a8e9b3d1f4b7932b9b193c5.tar.bz2 |
Add PTRACE_GET_RSEQ_CONFIGURATION from Linux 5.13 to sys/ptrace.h
Linux 5.13 adds a PTRACE_GET_RSEQ_CONFIGURATION constant, with an
associated ptrace_rseq_configuration structure.
Add this constant to the various sys/ptrace.h headers in glibc, with
the structure in bits/ptrace-shared.h (named struct
__ptrace_rseq_configuration in glibc, as with other such structures).
Tested for x86_64, and with build-many-glibcs.py.
Diffstat (limited to 'sysdeps/unix/sysv/linux/aarch64')
-rw-r--r-- | sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h b/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h index af8193c..1fae1dc 100644 --- a/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h +++ b/sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h @@ -58,6 +58,7 @@ __BEGIN_DECLS #undef PTRACE_SECCOMP_GET_FILTER #undef PTRACE_SECCOMP_GET_METADATA #undef PTRACE_GET_SYSCALL_INFO +#undef PTRACE_GET_RSEQ_CONFIGURATION /* Type of the REQUEST argument to `ptrace.' */ enum __ptrace_request @@ -190,8 +191,12 @@ enum __ptrace_request #define PTRACE_SECCOMP_GET_METADATA PTRACE_SECCOMP_GET_METADATA /* Get information about system call. */ - PTRACE_GET_SYSCALL_INFO = 0x420e + PTRACE_GET_SYSCALL_INFO = 0x420e, #define PTRACE_GET_SYSCALL_INFO PTRACE_GET_SYSCALL_INFO + + /* Get rseq configuration information. */ + PTRACE_GET_RSEQ_CONFIGURATION = 0x420f +#define PTRACE_GET_RSEQ_CONFIGURATION PTRACE_GET_RSEQ_CONFIGURATION }; |