Hardened malloc: Difference between revisions
(Created page with "=== What is it? === An excerpt on [https://github.com/GrapheneOS/hardened_malloc github] [1]: ''This is a security-focused general purpose memory allocator providing the malloc API along with various extensions. It provides substantial hardening against heap corruption vulnerabilities.'' === How to use === {{note| Need Alpine Linux Edge with testing repo in <code>/etc/apk/repositories</code>}} {{cmd| $ doas apk add hardened-malloc}} {{cmd| $ doas echo /usr/lib/libharde...") |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 7: | Line 7: | ||
{{note| Need Alpine Linux Edge with testing repo in <code>/etc/apk/repositories</code>}} | {{note| Need Alpine Linux Edge with testing repo in <code>/etc/apk/repositories</code>}} | ||
{{cmd| $ doas apk add hardened-malloc}} | {{cmd| $ doas apk add hardened-malloc}} | ||
{{cmd| $ doas echo /usr/lib/libhardened_malloc.so > /etc/ld.so.preload}} | {{cmd| $ doas echo "/usr/lib/libhardened_malloc.so" > /etc/ld.so.preload}} | ||
=== External sources === | |||
Hardened malloc github | |||
* [https://github.com/GrapheneOS/hardened_malloc https://github.com/GrapheneOS/hardened_malloc] [1] | |||
[[Category:Security]] |
Latest revision as of 03:08, 12 December 2024
What is it?
An excerpt on github [1]:
This is a security-focused general purpose memory allocator providing the malloc API along with various extensions. It provides substantial hardening against heap corruption vulnerabilities.
How to use
Note: Need Alpine Linux Edge with testing repo in
/etc/apk/repositories
$ doas apk add hardened-malloc
$ doas echo "/usr/lib/libhardened_malloc.so" > /etc/ld.so.preload
External sources
Hardened malloc github