diff options
author | 2022-11-22 08:53:00 -0600 | |
---|---|---|
committer | 2022-11-23 17:45:30 -0800 | |
commit | f471748b7fe5ab7ec6de4cbadffabfa7bb5b6240 (patch) | |
tree | 405d7dd4a2b41b2e8561448f9c32bcea5b36790b /net/core/of_net.c | |
parent | bpf: Add bpf_task_from_pid() kfunc (diff) | |
download | linux-rng-f471748b7fe5ab7ec6de4cbadffabfa7bb5b6240.tar.xz linux-rng-f471748b7fe5ab7ec6de4cbadffabfa7bb5b6240.zip |
selftests/bpf: Add selftests for bpf_task_from_pid()
Add some selftest testcases that validate the expected behavior of the
bpf_task_from_pid() kfunc that was added in the prior patch.
Signed-off-by: David Vernet <void@manifault.com>
Link: https://lore.kernel.org/r/20221122145300.251210-3-void@manifault.com
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'net/core/of_net.c')
0 files changed, 0 insertions, 0 deletions