summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorFlorent Revest <revest@chromium.org>2021-04-19 18:52:39 +0300
committerAlexei Starovoitov <ast@kernel.org>2021-04-20 01:27:36 +0300
commitfff13c4bb646ef849fd74ced87eef54340d28c21 (patch)
tree7ddabbda08e03363ebfccaa83d5c0a1786732d79 /tools
parentd9c9e4db186ab4d81f84e6f22b225d333b9424e3 (diff)
downloadlinux-fff13c4bb646ef849fd74ced87eef54340d28c21.tar.xz
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