* Mathieu Desnoyers:
quoted
I'm still worried that __rseq_static_assert and __rseq_alignof will show
up in the UAPI with textually different definitions. (This does not
apply to __rseq_tls_model_ie.)
What makes this worry not apply to __rseq_tls_model_ie ?
It's not needed by the kernel header because it doesn't contain a
__rseq_abi declaration.
quoted
Is my worry unfounded?
So AFAIU you worry that eventually sys/rseq.h and linux/rseq.h carry different
definitions of __rseq_static_assert and __rseq_alignof.
Indeed, I did not surround those #define with #ifndef/#endif. Maybe we should ?
Just in case the definitions end up being different (worse case scenario), we
should expect their behavior to be pretty much equivalent. So going for the
following should address your concern I think:
I think we should keep things simple on the glibc side for now and do
this changes to the kernel headers first.
Thanks,
Florian