diff options
Diffstat (limited to 'include/linux/bpf_verifier.h')
-rw-r--r-- | include/linux/bpf_verifier.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/bpf_verifier.h b/include/linux/bpf_verifier.h index 5efb4db44e1e..d5093b52b485 100644 --- a/include/linux/bpf_verifier.h +++ b/include/linux/bpf_verifier.h | |||
@@ -40,6 +40,9 @@ struct bpf_reg_state { | |||
40 | */ | 40 | */ |
41 | s64 min_value; | 41 | s64 min_value; |
42 | u64 max_value; | 42 | u64 max_value; |
43 | u32 min_align; | ||
44 | u32 aux_off; | ||
45 | u32 aux_off_align; | ||
43 | }; | 46 | }; |
44 | 47 | ||
45 | enum bpf_stack_slot_type { | 48 | enum bpf_stack_slot_type { |
@@ -87,6 +90,7 @@ struct bpf_verifier_env { | |||
87 | struct bpf_prog *prog; /* eBPF program being verified */ | 90 | struct bpf_prog *prog; /* eBPF program being verified */ |
88 | struct bpf_verifier_stack_elem *head; /* stack of verifier states to be processed */ | 91 | struct bpf_verifier_stack_elem *head; /* stack of verifier states to be processed */ |
89 | int stack_size; /* number of states to be processed */ | 92 | int stack_size; /* number of states to be processed */ |
93 | bool strict_alignment; /* perform strict pointer alignment checks */ | ||
90 | struct bpf_verifier_state cur_state; /* current verifier state */ | 94 | struct bpf_verifier_state cur_state; /* current verifier state */ |
91 | struct bpf_verifier_state_list **explored_states; /* search pruning optimization */ | 95 | struct bpf_verifier_state_list **explored_states; /* search pruning optimization */ |
92 | const struct bpf_ext_analyzer_ops *analyzer_ops; /* external analyzer ops */ | 96 | const struct bpf_ext_analyzer_ops *analyzer_ops; /* external analyzer ops */ |