Skip to content

Fix.loader.dynamic#644

Draft
oinoom wants to merge 75 commits intofix.sofrom
fix.loader.dynamic
Draft

Fix.loader.dynamic#644
oinoom wants to merge 75 commits intofix.sofrom
fix.loader.dynamic

Conversation

@oinoom
Copy link
Copy Markdown
Contributor

@oinoom oinoom commented Nov 5, 2025

No description provided.

David Anekstein added 30 commits October 10, 2025 18:17
- introduce ia2_loader gate TLS flag and counters so PartitionAlloc can detect loader allocations and force pkey 1 (see docs/loader_partitionalloc_mpk_summary.md)
- wrap dlopen/dlsym/mmap/mremap to enter the loader gate and retag anonymous mappings with pkey 1 using pkey_mprotect
- add ia2_tag_link_map retag API plus tests that ensure ld.so stays on pkey 1 and loader operations increment the new counters
Filter dlopen/dlmopen by basename to retag system libs to pkey 1, preserve app compartments
Validates that file-backed DSO mappings loaded via dlopen retain their
default pkey instead of being retagged to the loader's pkey 1.
David Anekstein and others added 27 commits December 3, 2025 11:29
ci: add libc compartment coverage row
@oinoom oinoom force-pushed the fix.loader.dynamic branch 3 times, most recently from 2ef2f07 to edf0d28 Compare December 8, 2025 20:41
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.

1 participant