about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2022-02-08 13:40:21 +0100
committerGitHub <noreply@github.com>2022-02-08 13:40:21 +0100
commitcbf3d1bdeeb077c2a1754f777e4469c1ed9c760d (patch)
tree2c7eae9a1921aaf96cdb77d451b97107f2ab3739
parent8dbc4a14239c3c9f3d02ac714d559846a0d30893 (diff)
parent64cc345ec2f78cf7542536fc86e201e44f9f946f (diff)
downloadafl++-cbf3d1bdeeb077c2a1754f777e4469c1ed9c760d.tar.gz
Merge pull request #1325 from devnexen/openbsd_sysconf_upd
afl-system-config update proposal for OpenBSD.
-rwxr-xr-xafl-system-config3
1 files changed, 3 insertions, 0 deletions
diff --git a/afl-system-config b/afl-system-config
index b222b2ad..ef343704 100755
--- a/afl-system-config
+++ b/afl-system-config
@@ -76,6 +76,9 @@ EOF
   DONE=1
 fi
 if [ "$PLATFORM" = "OpenBSD" ] ; then
+  doas sysctl vm.malloc_conf=
+  echo 'Freecheck on allocation in particular can be detrimental to performance.'
+  echo 'Also we might not want necessarily to abort at any allocation failure.'
   echo 'System security features cannot be disabled on OpenBSD.'
   echo
   DONE=1