From e70c97e6ebdbfa8d8a9d4a5fc43372c4f6a72cb3 Mon Sep 17 00:00:00 2001 From: Matt Borland Date: Tue, 2 Jul 2024 16:54:51 -0400 Subject: [PATCH] Add randomize_va_space to drone --- .drone/drone.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.drone/drone.sh b/.drone/drone.sh index 4ccf92eb7..86dbf129f 100644 --- a/.drone/drone.sh +++ b/.drone/drone.sh @@ -40,6 +40,10 @@ python tools/boostdep/depinst/depinst.py math ./bootstrap.sh ./b2 headers +if [[ $(uname) == "Linux" ]]; then + echo 0 | sudo tee /proc/sys/kernel/randomize_va_space +fi + echo '==================================> BEFORE_SCRIPT' . $DRONE_BUILD_DIR/.drone/before-script.sh