Export LD_PRELOAD to use GrapheneOS hardened_malloc as system memory allocator upon program execution.
This commit is contained in:
parent
2bd2bd48b7
commit
ba5a88597d
@ -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:%#" "
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user