aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin
diff options
context:
space:
mode:
authorDaniel Borkmann <[email protected]>2016-04-13 00:10:50 +0200
committerDavid S. Miller <[email protected]>2016-04-14 21:40:41 -0400
commit33ff9823c569f3aceb071071914919177a6bed6a (patch)
treea3c97e9315376067884a7a65320336b7b6fa6c07 /tools/perf/scripts/python/bin
parent486bdee0134cf21c3714ded809d5933d2b8dfb81 (diff)
bpf, verifier: add bpf_call_arg_meta for passing meta data
Currently, when the verifier checks calls in check_call() function, we call check_func_arg() for all 5 arguments e.g. to make sure expected types are correct. In some cases, we collect meta data (here: map pointer) to perform additional checks such as checking stack boundary on key/value sizes for subsequent arguments. As we're going to extend the meta data, add a generic struct bpf_call_arg_meta that we can use for passing into check_func_arg(). Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Alexei Starovoitov <[email protected]> Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin')
0 files changed, 0 insertions, 0 deletions