about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-09-22 07:06:18 +0200
committervanhauser-thc <vh@thc.org>2023-09-22 07:06:18 +0200
commitc762b6a3054b1a264101b66641681de974e4c806 (patch)
tree175b7e11aa316c646a3bb6708e79f76c918bd218
parent14bca4431138a80b93795683dec588a40f6050a9 (diff)
downloadafl++-c762b6a3054b1a264101b66641681de974e4c806.tar.gz
fix afl-persistent-config for Debian
-rwxr-xr-xafl-persistent-config6
1 files changed, 3 insertions, 3 deletions
diff --git a/afl-persistent-config b/afl-persistent-config
index 6d96c196..3abcb866 100755
--- a/afl-persistent-config
+++ b/afl-persistent-config
@@ -98,9 +98,9 @@ if [[ "$PLATFORM" = "Linux" ]] ; then
   echo "Checks passed."
 
   test -d /etc/sysctl.d || echo Error: /etc/sysctl.d directory not found, cannot install shmem config
-  test -d /etc/sysctl.d -a '!' -e /etc/sysctl.d/99-fuzzing && {
-    echo "Installing /etc/sysctl.d/99-fuzzing"
-    cat << EOF > /etc/sysctl.d/99-fuzzing
+  test -d /etc/sysctl.d -a '!' -e /etc/sysctl.d/99-fuzzing.conf && {
+    echo "Installing /etc/sysctl.d/99-fuzzing.conf"
+    cat << EOF > /etc/sysctl.d/99-fuzzing.conf
 kernel.core_uses_pid=0
 kernel.core_pattern=core
 kernel.randomize_va_space=0