-
-
Notifications
You must be signed in to change notification settings - Fork 134
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 mincore
#966
Comments
Hi @no92, I would love to contribute here, but I still have some questions regarding portability issues. The goal is to implement the Additionally, it's possible that I lack knowledge in these subjects, but I am eager to learn. I have a strong background in C, and with a bit more context, I'm confident that I can make a meaningful contribution here! Let me know! :) |
We'd want to leave the actual implementation up to sysdeps. E.g. on Linux |
Okay, I see. Totally makes sense! So here the goal would be to implement the function for all supported os ? |
That's kinda out of scope for mlibc, I think Linux is the only system we support that currently implements an How mlibc deals with this is via sysdeps, which house the system-specific functions required by the various generic libc functions. Most sysdep functions are marked Also, I've just had a look, and we apparently have |
Yeah I didn't notice the linux sysdep. I guess it would be nice to implement it for managarm, as we don't have many cases where a page wouldn't be resident in memory that shouldn't be too hard™. |
Managarm's sysdeps are implemented in this repo, under |
Okay, and you think that it's a good first issue ? @no92 |
Implementing mincore for linux, managarm and probably most other sysdeps should be trivial and would fix warnings with some GTK apps.
The text was updated successfully, but these errors were encountered: