stress2: This test runs for hours with ASLR enabled

This commit is contained in:
Peter Holm 2021-12-05 05:43:29 +00:00
parent a07d426509
commit e86b5a6234

View File

@ -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