Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 5 Dec 2021 05:46:20 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: e86b5a623420 - main - stress2: This test runs for hours with ASLR enabled
Message-ID:  <202112050546.1B55kK8O092958@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=e86b5a623420e23701949fc9aeb5c19f8b543a57

commit e86b5a623420e23701949fc9aeb5c19f8b543a57
Author:     Peter Holm <pho@FreeBSD.org>
AuthorDate: 2021-12-05 05:43:29 +0000
Commit:     Peter Holm <pho@FreeBSD.org>
CommitDate: 2021-12-05 05:43:29 +0000

    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 c28beb464022..fb2a2b75b5a5 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



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