Export LD_PRELOAD to use GrapheneOS hardened_malloc as system memory allocator upon program execution.

This commit is contained in:
inference 2023-02-12 14:51:34 +00:00
parent 2bd2bd48b7
commit ba5a88597d
Signed by: inference
SSH Key Fingerprint: SHA256:9Pl0nZ2UJacgm+IeEtLSZ4FOESgP1eKCtRflfPfdX9M

View File

@ -4,9 +4,11 @@
# Copyright 2022-2023 Inference # Copyright 2022-2023 Inference
# SPDX-License-Identifier: GPL-3.0-or-later # SPDX-License-Identifier: GPL-3.0-or-later
# Version: 4.0.0.10 # Version: 5.0.0.11
export LD_PRELOAD="/usr/local/lib/libhardened_malloc.so"
# Prompt. # Prompt.
PROMPT=%n@%M:%#" " PROMPT=%n@%M:%#" "