7 sysctl
-w net.core.bpf_jit_enable
=$1 2>&1 > /dev
/null
8 sysctl
-w net.core.bpf_jit_harden
=$2 2>&1 > /dev
/null
10 echo "[ JIT enabled:$1 hardened:$2 ]"
12 insmod
$SRC_TREE/lib
/test_bpf.ko
2> /dev
/null
16 rmmod test_bpf
2> /dev
/null
22 JE
=`sysctl -n net.core.bpf_jit_enable`
23 JH
=`sysctl -n net.core.bpf_jit_harden`
28 sysctl
-w net.core.bpf_jit_enable
=$JE 2>&1 > /dev
/null
29 sysctl
-w net.core.bpf_jit_harden
=$JH 2>&1 > /dev
/null