summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/crypto_init.c
diff options
context:
space:
mode:
authormiod <>2024-03-30 07:50:39 +0000
committermiod <>2024-03-30 07:50:39 +0000
commit8143a448d024badc2a56ebfe72a89ac13322fdea (patch)
tree22787ebcbc3d15feac1ece2a9d1b1d32cfd39569 /src/lib/libcrypto/crypto_init.c
parent8b4aee014ee4fcd87ae1facc48c141ed7662198a (diff)
downloadopenbsd-8143a448d024badc2a56ebfe72a89ac13322fdea.tar.gz
openbsd-8143a448d024badc2a56ebfe72a89ac13322fdea.tar.bz2
openbsd-8143a448d024badc2a56ebfe72a89ac13322fdea.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/crypto_init.c')
0 files changed, 0 insertions, 0 deletions