diff options
author | 2024-10-23 16:47:57 -0700 | |
---|---|---|
committer | 2024-10-24 10:25:59 -0700 | |
commit | cbf9f849a3e86f1b7c041dfbeeae1c1fff0ddc8d (patch) | |
tree | c51c8edf494b053946be46ee1a167aac04d813b8 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | selftests/bpf: Test a uptr struct spanning across pages. (diff) | |
download | wireguard-linux-cbf9f849a3e86f1b7c041dfbeeae1c1fff0ddc8d.tar.xz wireguard-linux-cbf9f849a3e86f1b7c041dfbeeae1c1fff0ddc8d.zip |
selftests/bpf: Add update_elem failure test for task storage uptr
This patch test the following failures in syscall update_elem
1. The first update_elem(BPF_F_LOCK) should be EOPNOTSUPP. syscall.c takes
care of unpinning the uptr.
2. The second update_elem(BPF_EXIST) fails. syscall.c takes care of
unpinning the uptr.
3. The forth update_elem(BPF_NOEXIST) fails. bpf_local_storage_update
takes care of unpinning the uptr.
Signed-off-by: Martin KaFai Lau <martin.lau@kernel.org>
Link: https://lore.kernel.org/r/20241023234759.860539-11-martin.lau@linux.dev
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions