aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTony Ambardar <itugrok@yahoo.com>2023-05-26 01:41:18 -0700
committerHauke Mehrtens <hauke@hauke-m.de>2023-06-09 13:20:05 +0200
commit081dfcfb0fa9a928321af885b118b480635dfdd5 (patch)
tree933559134ba91004d1b084ecfd7f8b26900401c8
parent3f3586a06d27cb6eeab1102e3858b47a1c902ad8 (diff)
downloadupstream-081dfcfb0fa9a928321af885b118b480635dfdd5.tar.gz
upstream-081dfcfb0fa9a928321af885b118b480635dfdd5.tar.bz2
upstream-081dfcfb0fa9a928321af885b118b480635dfdd5.zip
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 <itugrok@yahoo.com> (cherry picked from commit b3aaede2a7b14f2be850db8ae0c826e2782a60e8)
-rw-r--r--package/base-files/files/etc/sysctl.d/10-default.conf1
1 files changed, 1 insertions, 0 deletions
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