Re: [PATCH] rseq/selftests: ensure the rseq abi TLS is actually 1024 bytes

2025-03-18 Thread Mark Brown
On Tue, Mar 11, 2025 at 03:21:45PM -0400, Michael Jeanson wrote: > Adding the aligned(1024) attribute to the definition of __rseq_abi did > not increase its size to 1024, for this attribute to impact the size of > __rseq_abi it would need to be added to the declaration of 'struct > rseq_abi'. We o

Re: [PATCH] rseq/selftests: ensure the rseq abi TLS is actually 1024 bytes

2025-03-18 Thread Mark Brown
On Tue, Mar 18, 2025 at 10:50:58AM -0400, Michael Jeanson wrote: > On 2025-03-18 10:01, Mark Brown wrote: > > On Tue, Mar 11, 2025 at 03:21:45PM -0400, Michael Jeanson wrote: > > > > > Adding the aligned(1024) attribute to the definition of __rseq_abi did > > > not increase its size to 1024, for t

Re: [PATCH] rseq/selftests: ensure the rseq abi TLS is actually 1024 bytes

2025-03-18 Thread Michael Jeanson
On 2025-03-18 10:01, Mark Brown wrote: On Tue, Mar 11, 2025 at 03:21:45PM -0400, Michael Jeanson wrote: Adding the aligned(1024) attribute to the definition of __rseq_abi did not increase its size to 1024, for this attribute to impact the size of __rseq_abi it would need to be added to the decl

[PATCH] rseq/selftests: ensure the rseq abi TLS is actually 1024 bytes

2025-03-11 Thread Michael Jeanson
Adding the aligned(1024) attribute to the definition of __rseq_abi did not increase its size to 1024, for this attribute to impact the size of __rseq_abi it would need to be added to the declaration of 'struct rseq_abi'. We only want to increase the size of the TLS allocation to ensure registration