diff options
author | miod <> | 2024-03-30 07:50:39 +0000 |
---|---|---|
committer | miod <> | 2024-03-30 07:50:39 +0000 |
commit | 483e9a55e66d452ef6ee33193cb8233c6f9325b0 (patch) | |
tree | 22787ebcbc3d15feac1ece2a9d1b1d32cfd39569 /src/lib/libcrypto/mem_clr.c | |
parent | 2214bce1841d01c1c38687ff7bed8aa3bc1ad5d7 (diff) | |
download | openbsd-483e9a55e66d452ef6ee33193cb8233c6f9325b0.tar.gz openbsd-483e9a55e66d452ef6ee33193cb8233c6f9325b0.tar.bz2 openbsd-483e9a55e66d452ef6ee33193cb8233c6f9325b0.zip |
In _malloc_init(), round up the region being mprotected RW to the malloc
page size, rather than relying upon mprotect to round up to the actual mmu
page size.
This repairs malloc operation on systems where the malloc page size
(1 << _MAX_PAGE_SHIFT) is larger than the mmu page size.
ok otto@
Diffstat (limited to 'src/lib/libcrypto/mem_clr.c')
0 files changed, 0 insertions, 0 deletions