diff options
author | Florent Revest <revest@chromium.org> | 2021-04-19 17:52:39 +0200 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2021-04-19 15:27:36 -0700 |
commit | fff13c4bb646ef849fd74ced87eef54340d28c21 (patch) | |
tree | 7ddabbda08e03363ebfccaa83d5c0a1786732d79 /tools | |
parent | d9c9e4db186ab4d81f84e6f22b225d333b9424e3 (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