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

Implement mmap/munmap syscalls #241

Open
willdurand opened this issue Jan 4, 2021 · 0 comments
Open

Implement mmap/munmap syscalls #241

willdurand opened this issue Jan 4, 2021 · 0 comments
Labels
component: kernel priority: p3 This priority level reflects our backlog.

Comments

@willdurand
Copy link
Owner

See: https://man7.org/linux/man-pages/man2/mmap.2.html

We'll need dynamic memory allocation sooner rather than later in userland so let's start by implementing mmap and munmap syscalls. I think we might not want to support all options, we should try to achieve the following goal(s) instead:

  1. in a userland program, it should be possible to allocate some memory dynamically
  2. in a userland program, it should be possible to de-allocate (free) memory
  3. ideally, we should not be able to share memory between the userland programs
@willdurand willdurand added component: kernel priority: p3 This priority level reflects our backlog. labels Jan 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: kernel priority: p3 This priority level reflects our backlog.
Projects
None yet
Development

No branches or pull requests

1 participant