aboutsummaryrefslogtreecommitdiffstats
path: root/lib/dump_stack.c
diff options
context:
space:
mode:
authorMichael Jeanson <[email protected]>2025-03-11 19:21:45 +0000
committerIngo Molnar <[email protected]>2025-03-12 12:19:47 +0000
commite6644c967d3c076969336bd8a9b85ffb45f677f7 (patch)
tree6278c54ed206177df6443de319509613ef773296 /lib/dump_stack.c
parentrseq: Fix segfault on registration when rseq_cs is non-zero (diff)
downloadkernel-e6644c967d3c076969336bd8a9b85ffb45f677f7.tar.gz
kernel-e6644c967d3c076969336bd8a9b85ffb45f677f7.zip
rseq/selftests: Ensure the rseq ABI TLS is actually 1024 bytes
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 will succeed with future extended ABI. Use a union with a dummy member to ensure we allocate 1024 bytes. Signed-off-by: Michael Jeanson <[email protected]> Signed-off-by: Ingo Molnar <[email protected]> Reviewed-by: Mathieu Desnoyers <[email protected]> Link: https://lore.kernel.org/r/[email protected]
Diffstat (limited to 'lib/dump_stack.c')
0 files changed, 0 insertions, 0 deletions