HomeFreeBSD

LinuxKPI: Add want_init_on_free to linux/mm.h

Description

LinuxKPI: Add want_init_on_free to linux/mm.h

want_init_on_free returns if heap memory zeroing on free is enabled.
FreeBSD does not zeroes heap memory on free().

Sponsored by: Serenity Cyber Security
Reviewed by: emaste
MFC after: 1 week

(cherry picked from commit 56041ee817fff844e5b2de7eedc447e388ab988e)

Details

Provenance
wulfAuthored on Apr 8 2024, 6:47 AM
Parents
rG8ce07593a947: LinuxKPI: Add ACPI_ID_LEN const to linux/mod_devicetable.h
Branches
Unknown
Tags
Unknown