History log of /bionic/libc/bionic/mmap.cpp
Revision Date Author Comments
e320a8c7802eb54f80693db03bb2a201580875e7 25-Jul-2013 Elliott Hughes <enh@google.com> Avoid sign extension of the mmap offset.

off_t is signed to support seeking backwards, but that's a liability
when using off_t to represent a subset of a file.

Change-Id: I2a3615166eb16212347eb47f1242e3bfb93c2022
107cdd406b8e404af4d552498076cfe2dfe5efbf 17-Jul-2013 Elliott Hughes <enh@google.com> Prevent the madvise(MADV_MERGEABLE) mmap hack from affecting errno.

Bug: 9889616
Change-Id: I4a7323e0ae5aeb5cbe0da1b2bc7501d83b3a2aa4