diff options
| author | Daniel Rosenberg <[email protected]> | 2023-05-06 01:31:33 +0000 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2023-05-06 23:42:57 +0000 |
| commit | 2012c867c8005d72c949e274133df429ece78808 (patch) | |
| tree | fd441764144679effb80bb2047ecafef71b35985 /tools/testing/selftests/bpf/prog_tests/dynptr.c | |
| parent | selftests/bpf: Check overflow in optional buffer (diff) | |
| download | kernel-2012c867c8005d72c949e274133df429ece78808.tar.gz kernel-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 <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/dynptr.c')
0 files changed, 0 insertions, 0 deletions
