Skip to content

[CHERIoT] ELF/Writer: import entry permissions #180

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

Open
wants to merge 2 commits into
base: cheriot
Choose a base branch
from

Conversation

nwf
Copy link
Member

@nwf nwf commented Jun 25, 2025

The loader was reserving 8, not 4, bits for permission flags, and I'm stealing one of the heretofore unused ones for PermitLoadGlobal.

@resistor
Copy link
Collaborator

Code looks fine as long as this is the direction we're going.

@resistor
Copy link
Collaborator

@nwf Do you still want this?

@davidchisnall
Copy link

I think it probably is the right approach. It might not be useful, but is easier to not use it than to add it later.

nwf added 2 commits July 15, 2025 01:04
The loader reserves 8, not 4, bits for permission flags; the linker
should agree.
I'm stealing one of the heretofore unused flags for PermitLoadGlobal.
See CHERIoT-Platform/cheriot-rtos#547
@nwf nwf force-pushed the 20250625-cheriot_import_loadglobal branch from 49f5b47 to 13d53ac Compare July 15, 2025 01:22
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.

3 participants