From e86b5a623420e23701949fc9aeb5c19f8b543a57 Mon Sep 17 00:00:00 2001 From: Peter Holm Date: Sun, 5 Dec 2021 05:43:29 +0000 Subject: [PATCH] stress2: This test runs for hours with ASLR enabled --- tools/test/stress2/misc/vm_map.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/test/stress2/misc/vm_map.sh b/tools/test/stress2/misc/vm_map.sh index c28beb46402..fb2a2b75b5a 100755 --- a/tools/test/stress2/misc/vm_map.sh +++ b/tools/test/stress2/misc/vm_map.sh @@ -44,7 +44,7 @@ rm -f vm_map.c pages=$((`sysctl -n hw.usermem` / `sysctl -n hw.pagesize`)) [ `sysctl -n vm.swap_total` -eq 0 ] && pages=$((pages / 10 * 8)) -/tmp/vm_map $pages +proccontrol -m aslr -s disable /tmp/vm_map $pages rm -f /tmp/vm_map exit $s