diff options
| author | 2026-04-06 08:05:48 -0700 | |
|---|---|---|
| committer | 2026-04-07 18:20:49 -0700 | |
| commit | 4cfb09a38357dc1ae1082eb80aabd477d7c24b18 (patch) | |
| tree | 590e028c6fc8da35c26eb81087939bd7b79c4dda /samples/kobject/ssh:/git@git.zx2c4.com/git: | |
| parent | bpf: Allow overwriting referenced dynptr when refcnt > 1 (diff) | |
selftests/bpf: Test overwriting referenced dynptr
Test overwriting referenced dynptr and clones to make sure it is only
allow when there is at least one other dynptr with the same ref_obj_id.
Also make sure slice is still invalidated after the dynptr's stack slot
is destroyed.
Signed-off-by: Amery Hung <ameryhung@gmail.com>
Acked-by: Kumar Kartikeya Dwivedi <memxor@gmail.com>
Link: https://lore.kernel.org/r/20260406150548.1354271-3-ameryhung@gmail.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'samples/kobject/ssh:/git@git.zx2c4.com/git:')
0 files changed, 0 insertions, 0 deletions
