git: a724ccf35425 - main - stress2: Disable aslr for this test to work

From: Peter Holm <pho_at_FreeBSD.org>
Date: Sat, 11 Dec 2021 10:45:54 UTC
The branch main has been updated by pho:

URL: https://cgit.FreeBSD.org/src/commit/?id=a724ccf35425d93e55efcc2f77a6083ee90fc08c

commit a724ccf35425d93e55efcc2f77a6083ee90fc08c
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2021-12-11 10:43:30 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2021-12-11 10:43:30 +0000

    stress2: Disable aslr for this test to work
---
 tools/test/stress2/misc/mmap39.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/test/stress2/misc/mmap39.sh b/tools/test/stress2/misc/mmap39.sh
index 15aa8ec718a3..f4b97717624b 100755
--- a/tools/test/stress2/misc/mmap39.sh
+++ b/tools/test/stress2/misc/mmap39.sh
@@ -54,7 +54,7 @@ mount /dev/md$mdstart $mntpoint
 set +e
 
 for i in `jot 128`; do
-	$dir/mmap39 &
+	proccontrol -m aslr -s disable $dir/mmap39 &
 	pids="$pids $!"
 done
 s=0