microsoft / microsoft/ebpf-for-windows
When ebpfcore is not running, ebpf_program_load() returns EBPF_INVALID_FD
Open
cleanup
good first issue
triaged
- Dominant language
- C
- Stars
- 3.6k
- Forks
- 311
- Avg merge
- 6d 10h
- Merged PRs (30d)
- 21
Description
When ebpfcore is not running, `ebpf_program_load()` API returns `EBPF_INVALID_FD`, which is confusing to debug.
In the case when ebpfcore is not running, the API should return a clearer error code.
Contributor guide
Research direction
Start by tracing the ebpf_program_load() API path for the case where ebpfcore is unavailable, and find where that condition becomes EBPF_INVALID_FD. Identify the existing error-code tests or test entry points for this API. Done means the unavailable-service case returns a clearer, distinct error code and the behavior is covered by a test.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- backend-api-design, operating-systems
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100