From 6a191023337193d3e71bf9d1b6d103906e938c9c Mon Sep 17 00:00:00 2001 From: Andrew Halberstadt Date: Tue, 18 Oct 2022 17:58:18 +0000 Subject: [PATCH] Bug 1795063 - Stop disabling ASLR in spidermonkey builds from automation, r=sfink Differential Revision: https://phabricator.services.mozilla.com/D159517 --- js/src/devtools/automation/autospider.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/js/src/devtools/automation/autospider.py b/js/src/devtools/automation/autospider.py index 0f34e48f13f1..5dd668e9b4f7 100755 --- a/js/src/devtools/automation/autospider.py +++ b/js/src/devtools/automation/autospider.py @@ -492,7 +492,9 @@ if not args.nobuild: COMMAND_PREFIX = [] # On Linux, disable ASLR to make shell builds a bit more reproducible. -if subprocess.call("type setarch >/dev/null 2>&1", shell=True) == 0: +# Bug 1795718 - Disable in automation for now as call to setarch requires extra +# docker privileges. +if not AUTOMATION and subprocess.call("type setarch >/dev/null 2>&1", shell=True) == 0: COMMAND_PREFIX.extend(["setarch", platform.machine(), "-R"])