mirror of
https://github.com/opnsense/src.git
synced 2026-06-11 01:30:30 -04:00
stress2: This test runs for hours with ASLR enabled
This commit is contained in:
parent
a07d426509
commit
e86b5a6234
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue