summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/mem_clr.c
diff options
context:
space:
mode:
authormiod <>2024-03-30 07:50:39 +0000
committermiod <>2024-03-30 07:50:39 +0000
commit483e9a55e66d452ef6ee33193cb8233c6f9325b0 (patch)
tree22787ebcbc3d15feac1ece2a9d1b1d32cfd39569 /src/lib/libcrypto/mem_clr.c
parent2214bce1841d01c1c38687ff7bed8aa3bc1ad5d7 (diff)
downloadopenbsd-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