summaryrefslogtreecommitdiff
path: root/scripts/kconfig/list.h
diff options
context:
space:
mode:
authorPiotr Krysiuk <piotras@gmail.com>2021-03-16 09:47:02 +0100
committerDaniel Borkmann <daniel@iogearbox.net>2021-03-17 21:57:39 +0100
commit1b1597e64e1a610c7a96710fc4717158e98a08b3 (patch)
tree2bff02cdb86111e2e17e49b066992fb5b41e0cfa /scripts/kconfig/list.h
parentb5871dca250cd391885218b99cc015aca1a51aea (diff)
bpf: Add sanity check for upper ptr_limit
Given we know the max possible value of ptr_limit at the time of retrieving the latter, add basic assertions, so that the verifier can bail out if anything looks odd and reject the program. Nothing triggered this so far, but it also does not hurt to have these. Signed-off-by: Piotr Krysiuk <piotras@gmail.com> Co-developed-by: Daniel Borkmann <daniel@iogearbox.net> Signed-off-by: Daniel Borkmann <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'scripts/kconfig/list.h')
0 files changed, 0 insertions, 0 deletions