Comments (7)
This looks like related to #2382. @saxena-anurag , is this by design?
from ebpf-for-windows.
Yes this is by design and is same as #2382. Ideally we need to populate the eBPF store only for offline verification, i.e. for the cases where the extension is not expected to be running. So ideally extensions can skip populating the store if a UM tool is also doing the same and is part of the installation script / MSI.
from ebpf-for-windows.
How can this be by design? If I understand correctly, the kernel mode store APIs are provided as a static lib (i.e, unserviceable) and the registry keys being written are a black hole. Wouldn't it be equivalent to not provide the kernel APIs at all?
from ebpf-for-windows.
Note the documentation describes this API as having an effect on the "eBPF store" when in fact there are two disjoint eBPF stores.
from ebpf-for-windows.
The only consumer of ebpf store is UM and it tries to get information from the other path if the first is not available. So the store should still be transparent to components writing to it.
Just to give a bit more detail on why 2 stores -- currently ebpf store needs to be populated as part of eBPF build, and updating HKLM requires admin privileges. That will mean a dev needs to run build step as admin, which is not desired.
from ebpf-for-windows.
This is related to #1231
from ebpf-for-windows.
Duplicate of #1231
from ebpf-for-windows.
Related Issues (20)
- ebpf_program_load_bytes() always calls srand before generating random program name
- Workflow failed - km_mt_stress_tests HOT 5
- libfuzzer based fuzzer's aren't covering all code paths HOT 1
- Change current NuGet account to Microsoft account & prefix. HOT 3
- Retire old ebpf_performance tests HOT 2
- Workflow failed - user_mode_multi_threaded_stress
- Workflow failed - verifier_fuzzer HOT 3
- Workflow failed - fault_injection_full HOT 1
- _ebpf_link_instance_invoke_batch_begin/_ebpf_link_instance_invoke_batch_end use expensive EX_RUNDOWN_REF HOT 1
- ebpf_validate_attach_provider_data is too restrictive
- ebpf_performance triggers bug in usersim that breaks epoch logic
- Attempting to write BPF programs for multiple extensions at once fails in ebpf_program_set_program_info_hash HOT 1
- Copyright check requires Microsoft but CLA does not
- bpf2c doesn't generate well-formatted code for tail calls HOT 1
- Scheduled eBPF release is due HOT 1
- Fuzzing the verifier using debugging builds is inefficient HOT 1
- Add versioning in the native module NMR structs
- Support BPF dynamic pointers
- Workflow failed - core_helper_fuzzer HOT 1
- Add `total_size` field in `ebpf_extension_header_t` HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ebpf-for-windows.