summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2021-04-19 17:52:39 +0200
committerAlexei Starovoitov <ast@kernel.org>2021-04-19 15:27:36 -0700
commitfff13c4bb646ef849fd74ced87eef54340d28c21 (patch)
tree7ddabbda08e03363ebfccaa83d5c0a1786732d79 /tools
parentd9c9e4db186ab4d81f84e6f22b225d333b9424e3 (diff)
bpf: Add a ARG_PTR_TO_CONST_STR argument type
This type provides the guarantee that an argument is going to be a const pointer to somewhere in a read-only map value. It also checks that this pointer is followed by a zero character before the end of the map value. Signed-off-by: Florent Revest <revest@chromium.org> Signed-off-by: Alexei Starovoitov <ast@kernel.org> Acked-by: Andrii Nakryiko <andrii@kernel.org> Link: https://lore.kernel.org/bpf/20210419155243.1632274-3-revest@chromium.org
Diffstat (limited to 'tools')
0 files changed, 0 insertions, 0 deletions