Make preload shared library section more complete

This commit is contained in:
inference 2024-06-27 13:56:42 +01:00
parent bbac2fa8d1
commit 85457bcc5e
Signed by: inference
SSH Key Fingerprint: SHA256:K/a677+eHm7chi3X4s77BIpLTE9Vge1tsv+jUL5gI+Y

View File

@ -1,7 +1,7 @@
<!DOCTYPE html> <!DOCTYPE html>
<!-- Inferencium - Website - Documentation - hardened_malloc --> <!-- Inferencium - Website - Documentation - hardened_malloc -->
<!-- Version: 5.0.2-beta.5 --> <!-- Version: 5.0.2-beta.6 -->
<!-- Copyright 2023 Jake Winters --> <!-- Copyright 2023 Jake Winters -->
<!-- SPDX-License-Identifier: BSD-3-Clause --> <!-- SPDX-License-Identifier: BSD-3-Clause -->
@ -122,6 +122,8 @@
</section> </section>
<section id="preload_on_boot"> <section id="preload_on_boot">
<h2><a href="#preload_on_boot">Set System to Preload hardened_malloc on Boot</a></h2> <h2><a href="#preload_on_boot">Set System to Preload hardened_malloc on Boot</a></h2>
<p>In order to preload the hardened_malloc shared library on boot, perform the following
actions:</p>
<p><b>musl-based systems:</b> Add the following to <code>/etc/environment</code> or a configuration <p><b>musl-based systems:</b> Add the following to <code>/etc/environment</code> or a configuration
file within <code>/etc/environment.d/</code>:</p> file within <code>/etc/environment.d/</code>:</p>
<pre>LD_PRELOAD=/usr/local/lib/libhardened_malloc.so</pre> <pre>LD_PRELOAD=/usr/local/lib/libhardened_malloc.so</pre>