diff options
author | Joseph Myers <joseph@codesourcery.com> | 2023-05-26 15:03:31 +0000 |
---|---|---|
committer | Florian Weimer <fweimer@redhat.com> | 2024-07-16 19:33:34 +0200 |
commit | 602fff4efac381c263bef1f036990d5a6d51b61f (patch) | |
tree | 815437d2d04ccfa676c9b49d5f41e389b924355d | |
parent | c7cd62653850135bc880688a78104dbf77cf8121 (diff) | |
download | glibc-602fff4efac381c263bef1f036990d5a6d51b61f.zip glibc-602fff4efac381c263bef1f036990d5a6d51b61f.tar.gz glibc-602fff4efac381c263bef1f036990d5a6d51b61f.tar.bz2 |
Add AT_RSEQ_* from Linux 6.3 to elf.h
Linux 6.3 adds constants AT_RSEQ_FEATURE_SIZE and AT_RSEQ_ALIGN; add
them to glibc's elf.h. (Recall that, although elf.h is a
system-independent header, so far we've put AT_* constants there even
if Linux-specific, as discussed in bug 15794. So rather than making
any attempt to fix that issue, the new constants are just added there
alongside the existing ones.)
Tested for x86_64.
(cherry picked from commit 8754a4133e154ca853e6765a3fe5c7a904c77626)
-rw-r--r-- | elf/elf.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -1205,6 +1205,9 @@ typedef struct #define AT_HWCAP2 26 /* More machine-dependent hints about processor capabilities. */ +#define AT_RSEQ_FEATURE_SIZE 27 /* rseq supported feature size. */ +#define AT_RSEQ_ALIGN 28 /* rseq allocation alignment. */ + #define AT_EXECFN 31 /* Filename of executable. */ /* Pointer to the global system page used for system calls and other |