diff options
author | Piotr Krysiuk <[email protected]> | 2021-03-16 09:47:02 +0100 |
---|---|---|
committer | Daniel Borkmann <[email protected]> | 2021-03-17 21:57:39 +0100 |
commit | 1b1597e64e1a610c7a96710fc4717158e98a08b3 (patch) | |
tree | 2bff02cdb86111e2e17e49b066992fb5b41e0cfa /tools/perf/scripts/python/export-to-postgresql.py | |
parent | b5871dca250cd391885218b99cc015aca1a51aea (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 <[email protected]>
Co-developed-by: Daniel Borkmann <[email protected]>
Signed-off-by: Daniel Borkmann <[email protected]>
Acked-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions