diff options
author | Joanne Koong <joannelkoong@gmail.com> | 2023-03-01 07:49:48 -0800 |
---|---|---|
committer | Alexei Starovoitov <ast@kernel.org> | 2023-03-01 09:55:23 -0800 |
commit | 485ec51ef9764c0f67d35cabba0a963936b9126e (patch) | |
tree | eba4516c8bc2dce51f64ef09e91dbedae75ef022 /tools/lib/bpf/linker.c | |
parent | 8357b366cbb09b17c90e2cd758360a6bd2ea7507 (diff) |
bpf: Refactor verifier dynptr into get_dynptr_arg_reg
This commit refactors the logic for determining which register in a
function is the dynptr into "get_dynptr_arg_reg". This will be used
in the future when the dynptr reg for BPF_FUNC_dynptr_write will need
to be obtained in order to support writes for skb dynptrs.
Signed-off-by: Joanne Koong <joannelkoong@gmail.com>
Link: https://lore.kernel.org/r/20230301154953.641654-6-joannelkoong@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/lib/bpf/linker.c')
0 files changed, 0 insertions, 0 deletions