diff options
| author | Mahe Tardy <mahe.tardy@gmail.com> | 2026-08-13 11:05:40 +0000 |
|---|---|---|
| committer | Daniel Borkmann <daniel@iogearbox.net> | 2026-08-15 23:36:19 +0200 |
| commit | c93cbdb13f995f87b5356329b3fe551c80bb482d (patch) | |
| tree | 05eb80ebe35e0524b95d6fffe5e933c6779d2456 /kernel | |
| parent | 7b0dfbf5776bf75fadcb59fce1417c187bbb9943 (diff) | |
selftests/bpf: Add ksock test for async callback guard
Because the kfuncs are going through LSM hooks, allowing their use via
workqueue callbacks would expose the wrong credentials. This test
ensures the kfunc are preventing any use from these contexts.
Signed-off-by: Mahe Tardy <mahe.tardy@gmail.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Acked-by: Song Liu <song@kernel.org>
Link: https://lore.kernel.org/bpf/20260813110540.103550-6-mahe.tardy@gmail.com
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions
