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

Support SBRK #125

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open

Support SBRK #125

wants to merge 4 commits into from

Conversation

aroelke
Copy link
Contributor

@aroelke aroelke commented Aug 5, 2020

Adds a new tag to the rwx policy that allows the AP to use the sbrk system call to expand the data segment of its memory. It works similarly to malloc: a special location in memory is tagged with a special value that is loaded into an AP register after expanding the data segment, which is used to signal the PEX to initialize tags in the new segment (or remove them if the data segment is being shrunk).

Alec Roelke added 2 commits July 14, 2020 15:10
Also rearrange rwx code so sbrk takes precedence over violations.
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