about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDavid Carlier <devnexen@gmail.com>2022-02-08 10:46:54 +0000
committerDavid Carlier <devnexen@gmail.com>2022-02-08 11:25:19 +0000
commit64cc345ec2f78cf7542536fc86e201e44f9f946f (patch)
tree80348aeac6be0c9e873b12bd39e456ead9233ec8
parenta5dc0673317b32aee68e773e2c4f86190092b373 (diff)
downloadafl++-64cc345ec2f78cf7542536fc86e201e44f9f946f.tar.gz
afl-system-config update proposal for OpenBSD.
The vast majority of security features can t be disabled but we can
act of allocation config.
-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