Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OcApfsLib: Always load JumpStart APFS directly #520

Merged
merged 1 commit into from
Jan 21, 2024

Conversation

mikebeaton
Copy link
Contributor

apfs.efi has W^X errors which require fixup for strict loaders, however we were only passing the post-sanitised image to OC-wrapped platform loader, therefore the wrapper in ImageLoader.c cannot detect that it is an Apple signed binary which should be fixed up.

Fixes issue reported here: acidanthera/bugtracker#2363 (comment)

@Ampernic
Copy link

Thank you. Now it finaly booting.

@mikebeaton
Copy link
Contributor Author

Thank you. Now it finaly booting.

Thank you for the feedback, and for reporting this issue.

apfs.efi has W^X errors which require fixup for strict loaders, however
we were only passing the post-sanitised image to OC-wrapped
platform loader, therefore the wrapper in ImageLoader.c cannot
detect that it is an Apple signed binary which should be fixed up.
@mikebeaton mikebeaton merged commit b259283 into acidanthera:master Jan 21, 2024
@mikebeaton mikebeaton deleted the js-apfs-direct branch January 21, 2024 13:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants