diff options
| author | Yuntao Wang <[email protected]> | 2022-05-19 15:06:10 +0000 |
|---|---|---|
| committer | Andrii Nakryiko <[email protected]> | 2022-05-20 23:12:14 +0000 |
| commit | b23316aabffa835ecc516cb81daeef5b9155e8a5 (patch) | |
| tree | 725acecb7560873d925c36bb5f3ebcbfde7f32de /net/unix/af_unix.c | |
| parent | Merge branch 'bpf: mptcp: Support for mptcp_sock' (diff) | |
| download | kernel-b23316aabffa835ecc516cb81daeef5b9155e8a5.tar.gz kernel-b23316aabffa835ecc516cb81daeef5b9155e8a5.zip | |
selftests/bpf: Add missing trampoline program type to trampoline_count test
Currently the trampoline_count test doesn't include any fmod_ret bpf
programs, fix it to make the test cover all possible trampoline program
types.
Since fmod_ret bpf programs can't be attached to __set_task_comm function,
as it's neither whitelisted for error injection nor a security hook, change
it to bpf_modify_return_test.
This patch also does some other cleanups such as removing duplicate code,
dropping inconsistent comments, etc.
Signed-off-by: Yuntao Wang <[email protected]>
Signed-off-by: Andrii Nakryiko <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'net/unix/af_unix.c')
0 files changed, 0 insertions, 0 deletions
