> The new malloc has been comitted, so now take the next step.
> 
> This changes _dl_malloc to a regular non-zeroing _dl_malloc and uses
> _dl_calloc and _dl_reallocarray.
> 
> This needs carefull review.

Yes very careful.

Otto is basing this part off ugly ld.so refactoring tree I shared with
him.  It took me many days to get it working the first time..  Please
check carefully.

In summary: current ld.so malloc() has an implicit bzero.  This is moving
us to no implicit bzero, the callee has to that work. Just like the
intrinsic behaviours of the libc variants.

At the same time, the more sophisticated calloc() and reallocarray()
versions are added...

Reply via email to