[openwrt/openwrt] base-files: enable BPF JIT kallsyms by default

LEDE Commits lede-commits at lists.infradead.org
Fri Jun 9 04:23:41 PDT 2023


hauke pushed a commit to openwrt/openwrt.git, branch openwrt-23.05:
https://git.openwrt.org/081dfcfb0fa9a928321af885b118b480635dfdd5

commit 081dfcfb0fa9a928321af885b118b480635dfdd5
Author: Tony Ambardar <itugrok at yahoo.com>
AuthorDate: Fri May 26 01:41:18 2023 -0700

    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 at yahoo.com>
    (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




More information about the lede-commits mailing list