about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder- <heiko@hexco.de>2021-02-27 17:58:25 +0100
committerhexcoder- <heiko@hexco.de>2021-02-27 17:58:25 +0100
commitc2127e3ff7c324e44ac6b84d55c3bb8382427436 (patch)
treee9f69f31ef87646f173b0ab41f8d66e16a349590
parent2ad495ad0a9e4721cf20354af4c4f7222d6c239e (diff)
downloadafl++-c2127e3ff7c324e44ac6b84d55c3bb8382427436.tar.gz
disable the generation of core files in DragonFly BSD
-rwxr-xr-xafl-system-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/afl-system-config b/afl-system-config
index d5e5ceae..ba8ad3a3 100755
--- a/afl-system-config
+++ b/afl-system-config
@@ -60,8 +60,8 @@ if [ "$PLATFORM" = "OpenBSD" ] ; then
   DONE=1
 fi
 if [ "$PLATFORM" = "DragonFly" ] ; then
-  echo
-  echo 'System security features cannot be disabled on DragonFly.'
+  /sbin/sysctl kern.corefile=/dev/null
+  echo Settings applied.
   DONE=1
 fi
 if [ "$PLATFORM" = "NetBSD" ] ; then