diff options
| author | Daniel Borkmann <daniel@iogearbox.net> | 2018-06-07 11:09:57 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2018-06-07 12:39:12 +0300 |
| commit | b17ae9398ce13bba91e6e7f2249df9dedbf8e561 (patch) | |
| tree | fc927cb911f681ea602ea8d9b4de377b6d819af4 /tools/create-image.sh | |
| parent | 667b9a6950fb09cf18b6d6add928e6cf035cce3f (diff) | |
bpf: enable full unwind and kallsym export support for jited images
Helps syzkaller in particular for unwinding full stack in case
of warnings or crashes.
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'tools/create-image.sh')
| -rwxr-xr-x | tools/create-image.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/create-image.sh b/tools/create-image.sh index 9f8248293..395a2a08d 100755 --- a/tools/create-image.sh +++ b/tools/create-image.sh @@ -23,6 +23,7 @@ echo 'SELINUX=disabled' | sudo tee $DIR/etc/selinux/config echo "kernel.printk = 7 4 1 3" | sudo tee -a $DIR/etc/sysctl.conf echo 'debug.exception-trace = 0' | sudo tee -a $DIR/etc/sysctl.conf echo "net.core.bpf_jit_enable = 1" | sudo tee -a $DIR/etc/sysctl.conf +echo "net.core.bpf_jit_kallsyms = 1" | sudo tee -a $DIR/etc/sysctl.conf echo "kernel.softlockup_all_cpu_backtrace = 1" | sudo tee -a $DIR/etc/sysctl.conf echo "kernel.kptr_restrict = 0" | sudo tee -a $DIR/etc/sysctl.conf echo "kernel.watchdog_thresh = 60" | sudo tee -a $DIR/etc/sysctl.conf |
