On Friday, January 21, 2022 11:26:00 PM EST John Reiser wrote:
> > It  might be worthwhile to have a CFLAG that can tell glibc (or other
> > allocators) to substitute something like calloc for malloc.
> 
> The environment variable MALLOC_PERTURB_ has been used by glibc malloc
> for over 15 years.

Fair point. Looking over the man page, it says: Setting MALLOC_PERTURB_ to 
zero disables the feature.  I was hoping memory could be wiped to 0 which is 
a safer choice based on the literature I've read. But, yeah. An environmental 
variable would do as a way to measure impact.

-Steve

_______________________________________________
devel mailing list -- devel@lists.fedoraproject.org
To unsubscribe send an email to devel-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org
Do not reply to spam on the list, report it: 
https://pagure.io/fedora-infrastructure

Reply via email to