diff options
| author | Jakub Kicinski <jakub.kicinski@netronome.com> | 2016-09-21 11:43:56 +0100 |
|---|---|---|
| committer | Michael Bestas <mkbestas@lineageos.org> | 2022-04-19 00:50:40 +0300 |
| commit | 62156277c8add3cf77575a608e4336779e1d3845 (patch) | |
| tree | 7a59ffa390c30226efe91768bf1fb9169c78bf30 /include/linux/debugobjects.h | |
| parent | c49aac581f0407b9be4022bdb38718c19acd396c (diff) | |
bpf: don't (ab)use instructions to store state
Storing state in reserved fields of instructions makes
it impossible to run verifier on programs already
marked as read-only. Allocate and use an array of
per-instruction state instead.
While touching the error path rename and move existing
jump target.
Suggested-by: Alexei Starovoitov <ast@kernel.org>
Signed-off-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Acked-by: Alexei Starovoitov <ast@kernel.org>
Acked-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Chatur27 <jasonbright2709@gmail.com>
Diffstat (limited to 'include/linux/debugobjects.h')
0 files changed, 0 insertions, 0 deletions
