Restartable sequences in glibc
Restartable sequences in glibc
Posted Jan 31, 2022 20:04 UTC (Mon) by mjw (subscriber, #16740)In reply to: Restartable sequences in glibc by roc
Parent article: Restartable sequences in glibc
Do you have a pointer to your patch?
For valgrind we opted for now to simply return ENOSYS for rseq after consulting with the glibc hackers to confirm this causes glibc to simply skip the rseq setup when running under valgrind (as if running on a kernel that doesn't implement rseq).
https://bugs.kde.org/show_bug.cgi?id=405377
A real implementation is somewhat tricky if you might have instrumented the restartable sequence. DynamoRIO lists some issues and their current "run twice" approach https://dynamorio.org/page_rseq.html
Posted Jan 31, 2022 23:54 UTC (Mon)
by zx2c4 (subscriber, #82519)
[Link]
Posted Feb 1, 2022 6:53 UTC (Tue)
by roc (subscriber, #30627)
[Link] (1 responses)
Posted Feb 1, 2022 6:54 UTC (Tue)
by roc (subscriber, #30627)
[Link]
Restartable sequences in glibc
Restartable sequences in glibc
Restartable sequences in glibc
