diff options
| author | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2021-03-02 00:37:18 +0000 |
|---|---|---|
| committer | ylavic <ylavic@13f79535-47bb-0310-9956-ffa450edef68> | 2021-03-02 00:37:18 +0000 |
| commit | b9b2d56d891a664d4392027b5205fc5e597d2b34 (patch) | |
| tree | a9497308b9bb36677fbb9827617ff237287d6c8c /CHANGES | |
| parent | f1d56f78676a08eedce58e68d57fa6c428e7eb26 (diff) | |
| download | libapr-b9b2d56d891a664d4392027b5205fc5e597d2b34.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() now 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. |
