* Add AT_RSEQ_* from Linux 6.3 to elf.h
@ 2023-05-17 21:43 Joseph Myers
2023-05-25 21:34 ` Joseph Myers
2023-05-26 6:47 ` Florian Weimer
0 siblings, 2 replies; 3+ messages in thread
From: Joseph Myers @ 2023-05-17 21:43 UTC (permalink / raw)
To: libc-alpha
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.
diff --git a/elf/elf.h b/elf/elf.h
index 94ca23c1bb..c0803a610e 100644
--- a/elf/elf.h
+++ b/elf/elf.h
@@ -1224,6 +1224,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
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Add AT_RSEQ_* from Linux 6.3 to elf.h
2023-05-17 21:43 Add AT_RSEQ_* from Linux 6.3 to elf.h Joseph Myers
@ 2023-05-25 21:34 ` Joseph Myers
2023-05-26 6:47 ` Florian Weimer
1 sibling, 0 replies; 3+ messages in thread
From: Joseph Myers @ 2023-05-25 21:34 UTC (permalink / raw)
To: libc-alpha
Ping. This patch
<https://sourceware.org/pipermail/libc-alpha/2023-May/148234.html> is
pending review.
--
Joseph S. Myers
joseph@codesourcery.com
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Add AT_RSEQ_* from Linux 6.3 to elf.h
2023-05-17 21:43 Add AT_RSEQ_* from Linux 6.3 to elf.h Joseph Myers
2023-05-25 21:34 ` Joseph Myers
@ 2023-05-26 6:47 ` Florian Weimer
1 sibling, 0 replies; 3+ messages in thread
From: Florian Weimer @ 2023-05-26 6:47 UTC (permalink / raw)
To: Joseph Myers; +Cc: libc-alpha
* Joseph Myers:
> diff --git a/elf/elf.h b/elf/elf.h
> index 94ca23c1bb..c0803a610e 100644
> --- a/elf/elf.h
> +++ b/elf/elf.h
> @@ -1224,6 +1224,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
Okay.
Thanks,
Florian
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2023-05-26 6:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-17 21:43 Add AT_RSEQ_* from Linux 6.3 to elf.h Joseph Myers
2023-05-25 21:34 ` Joseph Myers
2023-05-26 6:47 ` Florian Weimer
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).