diff options
| author | Mathieu Desnoyers <[email protected]> | 2022-01-24 12:12:43 -0500 |
|---|---|---|
| committer | Peter Zijlstra <[email protected]> | 2022-02-02 13:11:35 +0100 |
| commit | e546cd48ccc456074ddb8920732aef4af65d7ca7 (patch) | |
| tree | e9ca24ec796e1635c74982918b875776e19c5aee /scripts/gdb/linux/clk.py | |
| parent | 94b80a19ebfe347a01301d750040a61c38200e2b (diff) | |
selftests/rseq: Introduce rseq_get_abi() helper
This is done in preparation for the selftest uplift to become compatible
with glibc-2.35.
glibc-2.35 exposes the rseq per-thread data in the TCB, accessible
at an offset from the thread pointer, rather than through an actual
Thread-Local Storage (TLS) variable, as the kernel selftests initially
expected.
Introduce a rseq_get_abi() helper, initially using the __rseq_abi
TLS variable, in preparation for changing this userspace ABI for one
which is compatible with glibc-2.35.
Note that the __rseq_abi TLS and glibc-2.35's ABI for per-thread data
cannot actively coexist in a process, because the kernel supports only
a single rseq registration per thread.
Signed-off-by: Mathieu Desnoyers <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Diffstat (limited to 'scripts/gdb/linux/clk.py')
0 files changed, 0 insertions, 0 deletions