Commit 29fcb05
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: 2a02759 ("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.com1 parent caf6249 commit 29fcb05
1 file changed
Lines changed: 12 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3158 | 3158 | | |
3159 | 3159 | | |
3160 | 3160 | | |
| 3161 | + | |
3161 | 3162 | | |
3162 | 3163 | | |
3163 | 3164 | | |
| |||
3166 | 3167 | | |
3167 | 3168 | | |
3168 | 3169 | | |
3169 | | - | |
| 3170 | + | |
| 3171 | + | |
| 3172 | + | |
3170 | 3173 | | |
3171 | 3174 | | |
3172 | 3175 | | |
3173 | 3176 | | |
3174 | | - | |
3175 | | - | |
3176 | | - | |
| 3177 | + | |
| 3178 | + | |
| 3179 | + | |
3177 | 3180 | | |
3178 | 3181 | | |
3179 | 3182 | | |
3180 | 3183 | | |
3181 | 3184 | | |
| 3185 | + | |
| 3186 | + | |
| 3187 | + | |
| 3188 | + | |
3182 | 3189 | | |
3183 | | - | |
| 3190 | + | |
3184 | 3191 | | |
3185 | 3192 | | |
3186 | 3193 | | |
| |||
0 commit comments