diff options
author | vanhauser-thc <vh@thc.org> | 2023-09-22 07:06:18 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-09-22 07:06:18 +0200 |
commit | c762b6a3054b1a264101b66641681de974e4c806 (patch) | |
tree | 175b7e11aa316c646a3bb6708e79f76c918bd218 | |
parent | 14bca4431138a80b93795683dec588a40f6050a9 (diff) | |
download | afl++-c762b6a3054b1a264101b66641681de974e4c806.tar.gz |
fix afl-persistent-config for Debian
-rwxr-xr-x | afl-persistent-config | 6 |
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 |