about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-02-06 14:25:39 +0100
committervanhauser-thc <vh@thc.org>2024-02-06 14:25:39 +0100
commit9f8eea54675b7bb13fae9724d7a71c4a46117427 (patch)
treef4b89b404ddf7153fc32071aa229dc7e077f5cc0
parentf49e391022b68e1deacbbe382451bab86884f963 (diff)
downloadafl++-9f8eea54675b7bb13fae9724d7a71c4a46117427.tar.gz
add spec_rstack_overflow=off to persistent-config
-rwxr-xr-xafl-persistent-config2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-persistent-config b/afl-persistent-config
index 26be9d9f..9ff2d1c9 100755
--- a/afl-persistent-config
+++ b/afl-persistent-config
@@ -129,7 +129,7 @@ EOF
     grep -E '^GRUB_CMDLINE_LINUX_DEFAULT=' /etc/default/grub | grep -E -q 'noibrs pcid nopti' || {
       echo "Configuring performance boot options"
       LINE=`grep -E '^GRUB_CMDLINE_LINUX_DEFAULT=' /etc/default/grub | sed 's/^GRUB_CMDLINE_LINUX_DEFAULT=//' | tr -d '"'`
-      OPTIONS="$LINE ibpb=off ibrs=off kpti=off l1tf=off mds=off mitigations=off no_stf_barrier noibpb noibrs pcid nopti nospec_store_bypass_disable nospectre_v1 nospectre_v2 pcid=on pti=off spec_store_bypass_disable=off spectre_v2=off stf_barrier=off srbds=off noexec=off noexec32=off tsx=on tsx=on tsx_async_abort=off mitigations=off audit=0 hardened_usercopy=off ssbd=force-off"
+      OPTIONS="$LINE ibpb=off ibrs=off kpti=off l1tf=off spec_rstack_overflow=off mds=off mitigations=off no_stf_barrier noibpb noibrs pcid nopti nospec_store_bypass_disable nospectre_v1 nospectre_v2 pcid=on pti=off spec_store_bypass_disable=off spectre_v2=off stf_barrier=off srbds=off noexec=off noexec32=off tsx=on tsx=on tsx_async_abort=off mitigations=off audit=0 hardened_usercopy=off ssbd=force-off"
       echo Setting boot options in /etc/default/grub to GRUB_CMDLINE_LINUX_DEFAULT=\"$OPTIONS\"
       sed -i "s|^GRUB_CMDLINE_LINUX_DEFAULT=.*|GRUB_CMDLINE_LINUX_DEFAULT=\"$OPTIONS\"|" /etc/default/grub
     }