Skip to content

Instantly share code, notes, and snippets.

@bemitc
Created September 23, 2015 22:19
Show Gist options
  • Save bemitc/ea6c0d850ad951881fb2 to your computer and use it in GitHub Desktop.
Save bemitc/ea6c0d850ad951881fb2 to your computer and use it in GitHub Desktop.
fixup ubuntu for afl
#!/bin/sh
# blindly make ubuntu desktop changes needed for afl, needs to run as root
#
# this script is a pretty bad idea
echo core > /proc/sys/kernel/core_pattern
(cd /sys/devices/system/cpu; echo performance | tee cpu*/cpufreq/scaling_governor)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment