mirror of https://github.com/torvalds/linux.git
Adapt the rseq.c/rseq.h code to follow GNU C library changes introduced by:
glibc commit 2e456ccf0c34 ("Linux: Make __rseq_size useful for feature detection (bug 31965)")
Without this fix, rseq selftests for mm_cid fail:
./run_param_test.sh
Default parameters
Running test spinlock
Running compare-twice test spinlock
Running mm_cid test spinlock
Error: cpu id getter unavailable
Fixes:
|
||
|---|---|---|
| .. | ||
| .gitignore | ||
| Makefile | ||
| basic_percpu_ops_test.c | ||
| basic_test.c | ||
| compiler.h | ||
| param_test.c | ||
| rseq-abi.h | ||
| rseq-arm-bits.h | ||
| rseq-arm.h | ||
| rseq-arm64-bits.h | ||
| rseq-arm64.h | ||
| rseq-bits-reset.h | ||
| rseq-bits-template.h | ||
| rseq-generic-thread-pointer.h | ||
| rseq-mips-bits.h | ||
| rseq-mips.h | ||
| rseq-ppc-bits.h | ||
| rseq-ppc-thread-pointer.h | ||
| rseq-ppc.h | ||
| rseq-riscv-bits.h | ||
| rseq-riscv.h | ||
| rseq-s390-bits.h | ||
| rseq-s390.h | ||
| rseq-thread-pointer.h | ||
| rseq-x86-bits.h | ||
| rseq-x86-thread-pointer.h | ||
| rseq-x86.h | ||
| rseq.c | ||
| rseq.h | ||
| run_param_test.sh | ||
| settings | ||