Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Dec 2021 10:45:54 GMT
From:      Peter Holm <pho@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: a724ccf35425 - main - stress2: Disable aslr for this test to work
Message-ID:  <202112111045.1BBAjs8b047023@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112111045.1BBAjs8b047023>