Thread (8 messages) 8 messages, 4 authors, 2021-11-18

Re: Bringing rseq back into glibc

flat view

From: Florian Weimer <hidden>
Date: 2021-11-18 18:55:55

* Noah Goldstein:
On Thu, Nov 18, 2021 at 4:17 AM Florian Weimer via Libc-alpha
[off-list ref] wrote:
quoted
I would like to bring back rseq for glibc 2.35.  I propose the following
steps:

1. Enable rseq registration in glibc, for internal use only.  This time,
   put the rseq area into struct pthread, not into a initial-exec TLS
   symbol.  (This helps to avoid with initial-exec TLS bloat with dlopen
   and simplifies initialization somewhat.)
Isn't THREAD_SELF also implemented in TLS? Or am I missing
something?
THREAD_SELF uses a pointer in the thread control block, and that pointer
is not replicated for different libc.so.6 copies with dlmopen (like the
rest of the TCB and struct pthread).

Thanks,
Florian
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help