diff options
author | Yann Ylavic <ylavic@apache.org> | 2021-03-02 00:37:18 +0000 |
---|---|---|
committer | Yann Ylavic <ylavic@apache.org> | 2021-03-02 00:37:18 +0000 |
commit | 17f630750e9e5a40872d8c8c3a48622ed9244d53 (patch) | |
tree | a9497308b9bb36677fbb9827617ff237287d6c8c /CHANGES | |
parent | 58126550800e0fd66790d216394e61772f329e6c (diff) | |
download | apr-17f630750e9e5a40872d8c8c3a48622ed9244d53.tar.gz |
Align apr_mmap()ing offset to a page boundary. PR 65158.
This is requirement for unix systems, and otherwise can cause failures or
undefined behaviour with some filesystems.
Add apr_mmap_t->poffset on unixes to track the offset to the previous page,
relative to the user requested/actual offset. This allows ->mm and ->size to
still point to the actual data, while munmap() still deletes the full range
from the start of the page.
Tests updated accordingly.
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@1887060 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'CHANGES')
-rw-r--r-- | CHANGES | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -1,6 +1,8 @@ -*- coding: utf-8 -*- Changes for APR 2.0.0 + *) Align apr_mmap()ing offset to a page boundary. [Yann Ylavic] + *) APR's configure script uses AC_TRY_RUN to detect whether the return type of strerror_r is int. When cross-compiling this defaults to no. |