about summary refs log tree commit diff
path: root/afl-system-config
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-11-15 10:32:44 +0100
committervanhauser-thc <vh@thc.org>2021-11-15 10:32:44 +0100
commitde90fd652e01797f129bfc23c24fa766b4c756a2 (patch)
tree2950b1eeadd3b44ec2233777ff38650256106a74 /afl-system-config
parent96430fc9e0c53bfa32b03acb615d0c05711b13e1 (diff)
downloadafl++-de90fd652e01797f129bfc23c24fa766b4c756a2.tar.gz
cmplog fix
Diffstat (limited to 'afl-system-config')
-rwxr-xr-xafl-system-config4
1 files changed, 2 insertions, 2 deletions
diff --git a/afl-system-config b/afl-system-config
index 3c14ba55..b222b2ad 100755
--- a/afl-system-config
+++ b/afl-system-config
@@ -34,8 +34,8 @@ if [ "$PLATFORM" = "Linux" ] ; then
   sysctl -w kernel.randomize_va_space=0
   sysctl -w kernel.sched_child_runs_first=1
   sysctl -w kernel.sched_autogroup_enabled=1
-  sysctl -w kernel.sched_migration_cost_ns=50000000
-  sysctl -w kernel.sched_latency_ns=250000000
+  sysctl -w kernel.sched_migration_cost_ns=50000000 2>/dev/null
+  sysctl -w kernel.sched_latency_ns=250000000 2>/dev/null
   echo never > /sys/kernel/mm/transparent_hugepage/enabled
   test -e /sys/devices/system/cpu/cpufreq/scaling_governor && echo performance | tee /sys/devices/system/cpu/cpufreq/scaling_governor
   test -e /sys/devices/system/cpu/cpufreq/policy0/scaling_governor && echo performance | tee /sys/devices/system/cpu/cpufreq/policy*/scaling_governor