Coder Social home page Coder Social logo

Comments (7)

shankarseal avatar shankarseal commented on June 2, 2024

This looks like related to #2382. @saxena-anurag , is this by design?

from ebpf-for-windows.

saxena-anurag avatar saxena-anurag commented on June 2, 2024

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.

mtfriesen avatar mtfriesen commented on June 2, 2024

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.

mtfriesen avatar mtfriesen commented on June 2, 2024

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.

saxena-anurag avatar saxena-anurag commented on June 2, 2024

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.

dthaler avatar dthaler commented on June 2, 2024

This is related to #1231

from ebpf-for-windows.

dahavey avatar dahavey commented on June 2, 2024

Duplicate of #1231

from ebpf-for-windows.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.