diff options
author | vanhauser-thc <vh@thc.org> | 2021-07-28 08:40:34 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2021-07-28 08:40:42 +0200 |
commit | ea39e6d6e7b3329ff744e3a28b32b8862251d4cc (patch) | |
tree | 6b9d1bd9733bd5e8d8baf5ef19f7a492a3482185 /afl-system-config | |
parent | 6d8813eb1a54a78f086e3f9b49642f67903218f3 (diff) | |
download | afl++-ea39e6d6e7b3329ff744e3a28b32b8862251d4cc.tar.gz |
better macos sysctl settings
Diffstat (limited to 'afl-system-config')
-rwxr-xr-x | afl-system-config | 5 |
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 |