GithubHelp home page GithubHelp logo

auxv entries about sgx-lkl-musl HOT 4 OPEN

wintersteiger avatar wintersteiger commented on June 8, 2024
auxv entries

from sgx-lkl-musl.

Comments (4)

vtikoo avatar vtikoo commented on June 8, 2024

Moving this and future entries into a more shareable header file sounds reasonable to me.
While adding AT_HW_CODE I didn't think of the implications of these entries being used from outside musl, and just co-located them with the existing auxv entries.

from sgx-lkl-musl.

wintersteiger avatar wintersteiger commented on June 8, 2024

Actually, since applications are compiled against normal-MUSL, those macros will never be visible to them. So, I think they will just have to know them, e.g. like here: https://github.com/wintersteiger/sgx-lkl/blob/0ac7f5449bc1c2c58bd2c4a5cd71c9b301c3a6f9/tests/basic/eeid-config/hello-eeid.c#L10

Is there a better solution? Should we inject an additional header file into the build? Since applications that make use of them depend on SGX-LKL by definition, can we assume that they have a copy of SGX-LKL so they can include an SGX-LKL header in their build?

from sgx-lkl-musl.

davidchisnall avatar davidchisnall commented on June 8, 2024

What applications need to know about these? I was under the impression that they were just there so that our userspace init code can talk to the SKR service and get keys for mounting. That code will eventually be statically linked against our musl.

from sgx-lkl-musl.

wintersteiger avatar wintersteiger commented on June 8, 2024

Oh yeah, that part is fine. I thought we wanted to make them available to applications as well, along with the TLS certificate, etc.

from sgx-lkl-musl.

Related Issues (4)

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.