diff options
author | Tony Ambardar <itugrok@yahoo.com> | 2023-05-26 01:41:18 -0700 |
---|---|---|
committer | Hauke Mehrtens <hauke@hauke-m.de> | 2023-06-09 13:20:05 +0200 |
commit | 081dfcfb0fa9a928321af885b118b480635dfdd5 (patch) | |
tree | 933559134ba91004d1b084ecfd7f8b26900401c8 | |
parent | 3f3586a06d27cb6eeab1102e3858b47a1c902ad8 (diff) | |
download | upstream-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.conf | 1 |
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 |