Skip to content

Fix rewrite.py to run pad-tls on all libraries including libdav1d.so#4

Open
oinoom wants to merge 1 commit intoia2from
fix/rewrite-pad-tls-all-libs
Open

Fix rewrite.py to run pad-tls on all libraries including libdav1d.so#4
oinoom wants to merge 1 commit intoia2from
fix/rewrite-pad-tls-all-libs

Conversation

@oinoom
Copy link

@oinoom oinoom commented Mar 4, 2026

The samefile check was skipping both the copy and pad-tls for libraries already in rpath. libdav1d.so is built directly into rpath by meson, so it was never padded, leaving p_align too small and causing TLS page sharing between compartments during exit cleanup.

The samefile check was skipping both the copy and pad-tls for libraries
already in rpath. libdav1d.so is built directly into rpath by meson, so
it was never padded — leaving p_align too small and causing TLS page
sharing between compartments during exit cleanup.
@oinoom oinoom requested review from ayrtonm and fw-immunant March 4, 2026 19:17
Copy link
Contributor

@ayrtonm ayrtonm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants