microsoft / microsoft/ebpf-for-windows
Add multi-attach and inter-op tests for CONNECTION_AUTHORIZATION hook
Open
enhancement
P2
tests
triaged
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 311
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 21
Description
I think we should also add tests for these 2 scenarios:
1. Multiple programs attached to CONNECTION_AUTHORIZATION hook, with different attach params. For example: total 4 programs, 2 with specific attach params (compartment ID=1) and 2 with wildcard attach params. `multi_attach_test()` implements similar test for existing connect hook.
2. Attaching programs for both types -- original CONNECT and CONNECTION_AUTHORIZATION, and permutating all combinations of verdicts.
_Originally posted by @saxena-anurag in https://github.com/microsoft/ebpf-for-windows/pull/4750#discussion_r3016837630_
Contributor guide
Assessment
This issue has not been assessed yet.