diff options
author | Joanne Koong <[email protected]> | 2023-03-01 07:49:46 -0800 |
---|---|---|
committer | Alexei Starovoitov <[email protected]> | 2023-03-01 09:55:23 -0800 |
commit | 1d18feb2c915c5ad0a9a61d04b8560e8efb78ce8 (patch) | |
tree | 00a07809e818100cbfa544d80a19a0fec7b5470c /tools/perf/scripts/python/mem-phys-addr.py | |
parent | 7e0dac2807e6c4ae8c56941d74971fdb0763b4f9 (diff) |
bpf: Allow initializing dynptrs in kfuncs
This change allows kfuncs to take in an uninitialized dynptr as a
parameter. Before this change, only helper functions could successfully
use uninitialized dynptrs. This change moves the memory access check
(including stack state growing and slot marking) into
process_dynptr_func(), which both helpers and kfuncs call into.
Signed-off-by: Joanne Koong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Alexei Starovoitov <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions