Fix OP-TEE ELF loading without trampoline bug#841
Conversation
wdcui
left a comment
There was a problem hiding this comment.
Why would OPTEE shim see unpatched binary?
This is for LVBS. It doesn't use trampoline and doesn't patch binaries. |
Then would |
Currently, it returns the callback's address. Better to make it return zero. |
Yeah, that's the contract: we expect zero for kernel platforms. |
|
🤖 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. |
The return values of
parse_trampolinehave changed (i.e., it returnsUnpatchedBinaryfor an ELF binary without trampoline), but litebox_shim_optee has not been updated accordingly.Issue #839