summaryrefslogtreecommitdiffstats
path: root/include/memory
diff options
context:
space:
mode:
authorDaniel Borkmann <daniel@iogearbox.net>2016-04-13 00:10:50 +0200
committerDavid S. Miller <davem@davemloft.net>2016-04-14 21:40:41 -0400
commit33ff9823c569f3aceb071071914919177a6bed6a (patch)
treea3c97e9315376067884a7a65320336b7b6fa6c07 /include/memory
parent486bdee0134cf21c3714ded809d5933d2b8dfb81 (diff)
downloadtalos-obmc-linux-33ff9823c569f3aceb071071914919177a6bed6a.tar.gz
talos-obmc-linux-33ff9823c569f3aceb071071914919177a6bed6a.zip
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 <daniel@iogearbox.net> Acked-by: Alexei Starovoitov <ast@kernel.org> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/memory')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud