Fix: work-around Linux kernel rseq.h uapi endianness issue
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jan 2022 22:10:25 +0000 (17:10 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Fri, 21 Jan 2022 22:10:25 +0000 (17:10 -0500)
commit2b04cd67aa77ab7cec65632a0006159ee53a41d8
tree5c1e676e32f06e277a4a7594528450f2464c0ef9
parentd35eae6b611618c5d05c4dc4ce0327e98b252c99
Fix: work-around Linux kernel rseq.h uapi endianness issue

Introduce RSEQ_CS_PTR32 to detect and work-around endianness issue for
the rseq_cs ptr32 vs padding fields on little endian 32-bit
architectures.

This does not affect the kernel implementation because the ptr32 field
is not used by the kernel.

Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Change-Id: Idee8daa16efba8a86655a1eab555f65e0fcea4ca
include/rseq/rseq-arm.h
include/rseq/rseq-mips.h
include/rseq/rseq-ppc.h
include/rseq/rseq-s390.h
include/rseq/rseq.h
This page took 0.030969 seconds and 4 git commands to generate.