From bbb757ca7b05750000ea4673fec54e5186dcacf0 Mon Sep 17 00:00:00 2001 From: Mohammad Nejati Date: Wed, 9 Oct 2024 08:58:14 +0000 Subject: [PATCH] `drone.sh`: disable ASLR --- .drone/drone.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone/drone.sh b/.drone/drone.sh index 838621a2..9a67ff94 100755 --- a/.drone/drone.sh +++ b/.drone/drone.sh @@ -42,6 +42,10 @@ common_install () { fi } +if [[ -z "${B2_ASAN}" ]]; then + echo 0 | sudo tee /proc/sys/kernel/randomize_va_space > /dev/null +fi + if [ "$DRONE_JOB_BUILDTYPE" == "boost" ]; then echo '==================================> INSTALL'