Add PTRACE_GET_RSEQ_CONFIGURATION from Linux 5.13 to sys/ptrace.h
commit98149b16d645e9644a8e9b3d1f4b7932b9b193c5
authorJoseph Myers <joseph@codesourcery.com>
Mon, 9 Aug 2021 16:51:38 +0000 (9 16:51 +0000)
committerJoseph Myers <joseph@codesourcery.com>
Mon, 9 Aug 2021 16:51:38 +0000 (9 16:51 +0000)
tree485baa22fe5b8f1cbcc222b150e38a6821585b09
parentb805aebd42364fe696e417808a700fdb9800c9e8
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.
sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
sysdeps/unix/sysv/linux/arm/sys/ptrace.h
sysdeps/unix/sysv/linux/bits/ptrace-shared.h
sysdeps/unix/sysv/linux/ia64/sys/ptrace.h
sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
sysdeps/unix/sysv/linux/s390/sys/ptrace.h
sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
sysdeps/unix/sysv/linux/sys/ptrace.h
sysdeps/unix/sysv/linux/x86/sys/ptrace.h