|
|
Subscribe / Log in / New account

Restartable sequences in glibc

Restartable sequences in glibc

Posted Feb 1, 2022 21:37 UTC (Tue) by NYKevin (subscriber, #129325)
In reply to: Restartable sequences in glibc by compudj
Parent article: Restartable sequences in glibc

Is there a compatibility story for those libs getting linked into something that doesn't link to glibc (e.g. because it uses musl or something)? Or are those users just out of luck?


to post comments

Musl

Posted Feb 1, 2022 21:49 UTC (Tue) by corbet (editor, #1) [Link]

Marginally related: the musl developer isn't entirely happy with the glibc plan and would like to see it delayed.

Restartable sequences in glibc

Posted Feb 2, 2022 11:41 UTC (Wed) by compudj (subscriber, #43335) [Link]

librseq can be used as an alternative way to register rseq for cases where the libc does not handle rseq. It requires the application to explicitly call a register/unregister API at the beginning/end of each thread's lifetime. It is compatible with the glibc-2.35+ ABI as well and will let glibc handle rseq registration in those cases. See https://git.kernel.org/pub/scm/libs/librseq/librseq.git/


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds