-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Feature/libc mman #7257
Feature/libc mman #7257
Conversation
@indutny this is good, just needs a find-and-replace of int with c_int. It would probably be good to do that in all of libc, if you'd be up for it. |
@cmr done. |
@cmr what about 2 other commits? |
@indutny bors only pays attention to the latest commit in a pull request (so people can't update a pull request and still get it merged without review) |
Ah, good to know :) Thank you! |
@cmr force pushed with fixes to mmap type and MAP_FAILED |
please r? |
Because its part of POSIX. Values are taken from FreeBSD, linux and OSX header files.
Because its part of POSIX. Values are taken from FreeBSD, linux and OSX header files.
Add functions and constants required to be able to use `mmap` and friends.
add android dummy functions which does not exist in boinic. after #7257, some mman related functions are needed for android.
…teffen Improve `redundant_slicing` lint fixes rust-lang#7972 fixes rust-lang#7257 This can supersede rust-lang#7976 changelog: Fix suggestion for `redundant_slicing` when re-borrowing for a method call changelog: New lint `deref_as_slicing`
Add functions and constants required to be able to use
mmap
and friends.