mirror of
https://github.com/fluencelabs/musl
synced 2025-06-11 14:01:34 +00:00
commit618b18c78e
removed the previous detection and hardening since it was incorrect. commit72141795d4
already handled all that remained for hardening the static-linked case. in the dynamic-linked case, have the dynamic linker check whether malloc was replaced and make that information available. with these changes, the properties documented in commitc9f415d7ea
are restored: if calloc is not provided, it will behave as malloc+memset, and any of the memalign-family functions not provided will fail with ENOMEM.