diff options
| author | Mahe Tardy <mahe.tardy@gmail.com> | 2026-08-13 11:05:38 +0000 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-08-15 23:36:18 +0200 |
| commit | c7838e3dc61a1e3e0a44f73267ffd33fa2d5e083 (patch) | |
| tree | 652bbecd33dab74488421809601d15245a4c41d1 /tools/perf/scripts/python/export-to-postgresql.py | |
| parent | 7ae4eb14c5f9d9bf0e0feabeab206151b1280512 (diff) | |
selftests/bpf: Add ksock kfunc test
Add a selftest that exercises the ksock kfuncs end-to-end. One syscall
BPF setup program creates a ksock context and connects the socket.
Another LSM sleepable BPF program looks up the context and send test
data. The userspace harness creates a network namespace and a new socket
on loopback, run the setup syscall prog and send LSM BPF prog then check
that the userspace socket received the data from BPF.
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Reviewed-by: Jiayuan Chen <jiayuan.chen@linux.dev>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Link: https://lore.kernel.org/bpf/20260813110540.103550-4-mahe.tardy@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions
