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

Include memory protection mechanism into MemoryZone #95

Open
Harthann opened this issue May 24, 2023 · 0 comments
Open

Include memory protection mechanism into MemoryZone #95

Harthann opened this issue May 24, 2023 · 0 comments

Comments

@Harthann
Copy link
Owner

MemoryZone should be map in memory depending on their permission, allowing cpu to trigger a page fault when invalid access is performed by user.
During the pagefault handling, the kernel will analyze the reason behind this pagefault and either allocate memory for the user (stack overflow will result in growing the stack length) or sending him a signal (SIG_SEGV in case of permission error)

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

No branches or pull requests

1 participant