diff options
author | 2023-05-05 18:31:33 -0700 | |
---|---|---|
committer | 2023-05-06 16:42:57 -0700 | |
commit | 2012c867c8005d72c949e274133df429ece78808 (patch) | |
tree | fd441764144679effb80bb2047ecafef71b35985 /tools/lib/bpf/bpf_helpers.h | |
parent | selftests/bpf: Check overflow in optional buffer (diff) | |
download | wireguard-linux-2012c867c8005d72c949e274133df429ece78808.tar.xz wireguard-linux-2012c867c8005d72c949e274133df429ece78808.zip |
bpf: verifier: Accept dynptr mem as mem in helpers
This allows using memory retrieved from dynptrs with helper functions
that accept ARG_PTR_TO_MEM. For instance, results from bpf_dynptr_data
can be passed along to bpf_strncmp.
Signed-off-by: Daniel Rosenberg <drosen@google.com>
Link: https://lore.kernel.org/r/20230506013134.2492210-5-drosen@google.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/bpf_helpers.h')
0 files changed, 0 insertions, 0 deletions