]> git.ipfire.org Git - thirdparty/glibc.git/commit
x86: Use typeof_member style in RSEQ area access expressions
authorUros Bizjak <ubizjak@gmail.com>
Wed, 1 Oct 2025 09:07:31 +0000 (11:07 +0200)
committerUros Bizjak <ubizjak@gmail.com>
Wed, 8 Oct 2025 07:35:15 +0000 (09:35 +0200)
commit3ee23564ce99bd8bc9e7222a8a2a96c13153c1e0
tree8f9136fb16e32c2898eea2d9cbd98d4d03735f6d
parent99518a3a35587705a64cad6df4b02624ea601667
x86: Use typeof_member style in RSEQ area access expressions

Update RSEQ access macros to use `(struct rseq_area) {}.member`
in _Static_assert and __typeof expressions, instead of
RSEQ_SELF()->member.  This adopts the typeof_member style, avoiding
reliance on RSEQ_SELF for compile-time expressions.

Signed-off-by: Uros Bizjak <ubizjak@gmail.com>
Reviewed-by: H.J. Lu <hjl.tools@gmail.com>
sysdeps/i386/nptl/rseq-access.h
sysdeps/x86_64/64/nptl/rseq-access.h
sysdeps/x86_64/x32/nptl/rseq-access.h