diff options
author | 2024-02-17 19:41:52 +0800 | |
---|---|---|
committer | 2024-02-19 12:28:15 +0100 | |
commit | 5c138a8a4abe152fcbef1ed40a6a4b5727b2991b (patch) | |
tree | c9aee41673c07d98b333e9ab9e87d7b0535bb9bd /tools/perf/scripts/python/export-to-postgresql.py | |
parent | bpf: Fix an issue due to uninitialized bpf_iter_task (diff) | |
download | wireguard-linux-5c138a8a4abe152fcbef1ed40a6a4b5727b2991b.tar.xz wireguard-linux-5c138a8a4abe152fcbef1ed40a6a4b5727b2991b.zip |
selftests/bpf: Add negtive test cases for task iter
Incorporate a test case to assess the handling of invalid flags or
task__nullable parameters passed to bpf_iter_task_new(). Prior to the
preceding commit, this scenario could potentially trigger a kernel panic.
However, with the previous commit, this test case is expected to function
correctly.
Signed-off-by: Yafang Shao <laoar.shao@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Link: https://lore.kernel.org/bpf/20240217114152.1623-3-laoar.shao@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions