-
Notifications
You must be signed in to change notification settings - Fork 267
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
MAP_ANON and MAP_ANONYMOUS #24
Comments
What platform is this an issue on? |
Hi, |
I checked mmap man page of several platforms on the WWW.
Simply replacing MAP_ANON with MAP_ANONYMOUS will cause another issue, sorry. Instead of replacing, how about adding define, like this.
Thanks. |
We added a compat definition in af705b3 |
Sorry,
My recommendation was wrong. |
I see. Thanks for the note, this is now fixed. |
Thanks for everything, busterb. |
I think MAP_ANON should be replaced with MAP_ANONYMOUS.
Seeing this
http://austingroupbugs.net/view.php?id=850
I noticed these descriptions.
It seems that MAP_ANONYMOUS will be more common than MAP_ANON.
constant MAP_ANON is used in these files.
./crypto/compat/getentropy_linux.c
./crypto/compat/arc4random_linux.h
./crypto/compat/getentropy_solaris.c
./crypto/compat/arc4random_solaris.h
./crypto/compat/getentropy_osx.c
./crypto/compat/arc4random_osx.h
./tests/arc4randomforktest.c
Thanks.
The text was updated successfully, but these errors were encountered: