Skip to content

Fix handling of OP-TEE ldelf segment padding - #1112

Open
sangho2 wants to merge 1 commit into
mainfrom
sanghle/optee/ldelf-pad-reservation
Open

Fix handling of OP-TEE ldelf segment padding#1112
sangho2 wants to merge 1 commit into
mainfrom
sanghle/optee/ldelf-pad-reservation

Conversation

@sangho2

@sangho2 sangho2 commented Jul 31, 2026

Copy link
Copy Markdown
Contributor

This PR fixes handling of OP-TEE ldelf segment padding. ldelf can place paddings (unmapped/free pages) before and after a segment. Previously, we assumed that the paddings of different segments are disjoint, but they are not. Also, since ldelf is unaware of the syscall trampoline, we should ignore a trampoline page when we deal with paddings.

@sangho2
sangho2 marked this pull request as ready for review July 31, 2026 04:27
@sangho2
sangho2 force-pushed the sanghle/optee/ldelf-pad-reservation branch 8 times, most recently from f4823f4 to 36edfa6 Compare July 31, 2026 20:44
@sangho2
sangho2 marked this pull request as draft July 31, 2026 21:09
@sangho2
sangho2 force-pushed the sanghle/optee/ldelf-pad-reservation branch from 36edfa6 to 0a8e208 Compare July 31, 2026 21:20
@sangho2
sangho2 marked this pull request as ready for review July 31, 2026 21:20
@github-actions

Copy link
Copy Markdown

🤖 SemverChecks 🤖 No breaking API changes detected

Note: this does not mean API is unchanged, or even that there are no breaking changes; simply, none of the detections triggered.

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