fix(afl-fuzz-init): ensure proper permissions for setting CPU governor

The previous command used tee without sudo, which could fail due to insufficient permissions.

Signed-off-by: Yuvraj Saxena <ysaxenax@gmail.com>
This commit is contained in:
Yuvraj Saxena
2025-03-10 17:43:18 +05:30
parent f590973387
commit f27f109880

View File

@ -2601,7 +2601,7 @@ void check_cpu_governor(afl_state_t *afl) {
" afl-fuzz. To keep things moving, run these commands as root:\n\n"
" cd /sys/devices/system/cpu\n"
" echo performance | tee cpu*/cpufreq/scaling_governor\n\n"
" echo performance | sudo tee cpu*/cpufreq/scaling_governor\n\n"
" You can later go back to the original state by replacing "
"'performance'\n"