From d5d9b04beb48e27b7809aa58984f72f60a3a6b99 Mon Sep 17 00:00:00 2001 From: inference Date: Mon, 2 Jan 2023 07:50:22 +0000 Subject: [PATCH] Export LD_PRELOAD environmental variable to force usage of hardened_malloc. --- zsh/.zshrc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/.zshrc b/zsh/.zshrc index e13f824..66070a5 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -3,9 +3,11 @@ # Copyright 2022-2023 Inference # SPDX-License-Identifier: BSD-3-Clause-Clear -# Version: 1.1.1.6 +# Version: 1.2.0.7 +export LD_PRELOAD="/lib/local/libhardened_malloc.so" + # Prompt. PROMPT=%n@%M:%#" "