From ea39e6d6e7b3329ff744e3a28b32b8862251d4cc Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Wed, 28 Jul 2021 08:40:34 +0200 Subject: better macos sysctl settings --- afl-system-config | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'afl-system-config') diff --git a/afl-system-config b/afl-system-config index a2ffa490..dbdbbf1f 100755 --- a/afl-system-config +++ b/afl-system-config @@ -101,9 +101,10 @@ if [ "$PLATFORM" = "NetBSD" ] ; then DONE=1 fi if [ "$PLATFORM" = "Darwin" ] ; then - sysctl kern.sysv.shmmax=8388608 + sysctl kern.sysv.shmmax=524288000 + sysctl kern.sysv.shmmin=1 sysctl kern.sysv.shmseg=48 - sysctl kern.sysv.shmall=98304 + sysctl kern.sysv.shmall=131072000 echo Settings applied. echo if [ $(launchctl list 2>/dev/null | grep -q '\.ReportCrash$') ] ; then -- cgit 1.4.1