From 081dfcfb0fa9a928321af885b118b480635dfdd5 Mon Sep 17 00:00:00 2001 From: Tony Ambardar Date: Fri, 26 May 2023 01:41:18 -0700 Subject: [PATCH] base-files: enable BPF JIT kallsyms by default Set net.core.bpf_jit_kallsyms=1 in /etc/sysctl.d/10-default.conf. For privileged users, this exports addresses of JIT-compiled programs to appear in /proc/kallsyms when present, allowing their use for debugging and in traces. Signed-off-by: Tony Ambardar (cherry picked from commit b3aaede2a7b14f2be850db8ae0c826e2782a60e8) --- package/base-files/files/etc/sysctl.d/10-default.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/package/base-files/files/etc/sysctl.d/10-default.conf b/package/base-files/files/etc/sysctl.d/10-default.conf index bc8c579695..ee7df2bfa6 100644 --- a/package/base-files/files/etc/sysctl.d/10-default.conf +++ b/package/base-files/files/etc/sysctl.d/10-default.conf @@ -9,6 +9,7 @@ fs.protected_hardlinks=1 fs.protected_symlinks=1 net.core.bpf_jit_enable=1 +net.core.bpf_jit_kallsyms=1 net.ipv4.conf.default.arp_ignore=1 net.ipv4.conf.all.arp_ignore=1 -- 2.30.2