Re: [PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v9)

2019-04-23 Thread Szabolcs Nagy
On 22/04/2019 18:56, Mathieu Desnoyers wrote: > diff --git a/sysdeps/unix/sysv/linux/aarch64/bits/rseq.h > b/sysdeps/unix/sysv/linux/aarch64/bits/rseq.h > new file mode 100644 > index 00..e538668612 > --- /dev/null > +++ b/sysdeps/unix/sysv/linux/aarch64/bits/rseq.h > @@ -0,0 +1,44 @@ > +/

[PATCH 1/5] glibc: Perform rseq(2) registration at C startup and thread creation (v9)

2019-04-22 Thread Mathieu Desnoyers
Register rseq(2) TLS for each thread (including main), and unregister for each thread (excluding main). "rseq" stands for Restartable Sequences. See the rseq(2) man page proposed here: https://lkml.org/lkml/2018/9/19/647 This patch is based on glibc-2.29. The rseq(2) system call was merged into