From ee3c2c3591a91265076bd89515cb217a5ea5a561 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Mon, 28 Nov 2016 18:26:56 +0100 Subject: tools: enable bpg jit in create-image.sh JIT should be more interesting to fuzz. --- tools/create-image.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tools') diff --git a/tools/create-image.sh b/tools/create-image.sh index 78120e67d..9fa12c4bc 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -17,7 +17,9 @@ echo 'T0:23:respawn:/sbin/getty -L ttyS0 115200 vt100' | sudo tee -a wheezy/etc/ printf '\nauto eth0\niface eth0 inet dhcp\n' | sudo tee -a wheezy/etc/network/interfaces echo 'debugfs /sys/kernel/debug debugfs defaults 0 0' | sudo tee -a wheezy/etc/fstab echo 'debug.exception-trace = 0' | sudo tee -a wheezy/etc/sysctl.conf -sudo mkdir wheezy/root/.ssh/ +echo "net.core.bpf_jit_enable = 2" | sudo tee -a wheezy/etc/sysctl.conf +echo "net.core.bpf_jit_harden = 2" | sudo tee -a wheezy/etc/sysctl.conf +sudo mkdir -p wheezy/root/.ssh/ rm -rf ssh mkdir -p ssh ssh-keygen -f ssh/id_rsa -t rsa -N '' -- cgit mrf-deployment