git: e86b5a623420 - main - stress2: This test runs for hours with ASLR enabled
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 05 Dec 2021 05:46:20 UTC
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