about summary refs log tree commit diff
path: root/afl-system-config
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-07-28 08:40:34 +0200
committervanhauser-thc <vh@thc.org>2021-07-28 08:40:42 +0200
commitea39e6d6e7b3329ff744e3a28b32b8862251d4cc (patch)
tree6b9d1bd9733bd5e8d8baf5ef19f7a492a3482185 /afl-system-config
parent6d8813eb1a54a78f086e3f9b49642f67903218f3 (diff)
downloadafl++-ea39e6d6e7b3329ff744e3a28b32b8862251d4cc.tar.gz
better macos sysctl settings
Diffstat (limited to 'afl-system-config')
-rwxr-xr-xafl-system-config5
1 files changed, 3 insertions, 2 deletions
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