commit | 29fcb05bbf1a7008900bb9bee347bdbfc7171036 | [log] [tgz] |
---|---|---|
author | Andrii Nakryiko <andriin@fb.com> | Fri Jun 12 17:21:15 2020 -0700 |
committer | Alexei Starovoitov <ast@kernel.org> | Fri Jun 12 17:35:38 2020 -0700 |
tree | 048722952f48b23c5f2e2bf5889776962dae09cf | |
parent | caf62492f479585296e9d636c798d5ac256b7b04 [diff] |
bpf: Undo internal BPF_PROBE_MEM in BPF insns dump BPF_PROBE_MEM is kernel-internal implmementation details. When dumping BPF instructions to user-space, it needs to be replaced back with BPF_MEM mode. Fixes: 2a02759ef5f8 ("bpf: Add support for BTF pointers to interpreter") Signed-off-by: Andrii Nakryiko <andriin@fb.com> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Link: https://lore.kernel.org/bpf/20200613002115.1632142-1-andriin@fb.com